Commit 28153daa authored by Dennis Neidherr's avatar Dennis Neidherr 😲
Browse files

Removed the polling mechanism and replaced it with an IRQ based system (like in the PPG)

parent a7c77914
......@@ -142,7 +142,7 @@
<Property Name="BuildSpec" Type="Str">{225E55B5-795F-487A-9844-A95D5625820D}</Property>
<Property Name="configString.guid" Type="Str">{070A363D-3DE9-4E42-A02F-720235056645}ArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO1;0;ReadMethodType=bool;WriteMethodType=bool{0F3E4FA3-4263-4B9E-AA88-72D550CD4F50}"ControlLogic=0;NumberOfElements=16383;Type=2;ReadArbs=Arbitrate if Multiple Requestors Only;ElementsPerRead=1;WriteArbs=Never Arbitrate;ElementsPerWrite=1;Implementation=2;MCSData;DataType=1000800000000001000940070003553332000100000000000000000000;DisableOnOverflowUnderflow=FALSE"{7F04A6AE-C488-4C06-8E88-EA50100E44B5}ArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO0;0;ReadMethodType=bool;WriteMethodType=bool{E0A337A3-11B3-4B27-BCED-E59580ACF523}ArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO2;0;ReadMethodType=bool;WriteMethodType=bool{F9ABC913-AFE8-4BFB-88D5-CCB3DB60A2E3}Multiplier=2,000000;Divisor=1,000000PCI-7811R/Clk40/falsefalseFPGA_EXECUTION_MODEFPGA_TARGETFPGA_TARGET_CLASSPCI_7811RFPGA_TARGET_FAMILYVIRTEX2TARGET_TYPEFPGA/[rSeriesConfig.Begin][rSeriesConfig.End]</Property>
<Property Name="configString.name" Type="Str">80MHzMultiplier=2,000000;Divisor=1,000000isActiveArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO2;0;ReadMethodType=bool;WriteMethodType=boolMCSData"ControlLogic=0;NumberOfElements=16383;Type=2;ReadArbs=Arbitrate if Multiple Requestors Only;ElementsPerRead=1;WriteArbs=Never Arbitrate;ElementsPerWrite=1;Implementation=2;MCSData;DataType=1000800000000001000940070003553332000100000000000000000000;DisableOnOverflowUnderflow=FALSE"PCI-7811R/Clk40/falsefalseFPGA_EXECUTION_MODEFPGA_TARGETFPGA_TARGET_CLASSPCI_7811RFPGA_TARGET_FAMILYVIRTEX2TARGET_TYPEFPGA/[rSeriesConfig.Begin][rSeriesConfig.End]signalInputArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO1;0;ReadMethodType=bool;WriteMethodType=boolstartTriggerArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO0;0;ReadMethodType=bool;WriteMethodType=bool</Property>
<Property Name="NI.LV.FPGA.InterfaceBitfile" Type="Str">F:\LVSCC\LV2012\GPL\instr.lib\NI-FPGA-MCS\FPGA Bitfiles\NI-FPGA-MCS.lvproj_PCI7811R_target.main.vi.lvbitx</Property>
<Property Name="NI.LV.FPGA.InterfaceBitfile" Type="Str">D:\Git\CSPP\instr.lib\NI-FPGA-MCS\FPGA Bitfiles\NI-FPGA-MCS.lvproj_PCI7811R_target.main.vi.lvbitx</Property>
</Item>
<Item Name="MCSData" Type="FPGA FIFO">
<Property Name="Actual Number of Elements" Type="UInt">16383</Property>
......@@ -202,6 +202,8 @@
<Property Name="Comp.Xilinx.UseRecommended" Type="Bool">true</Property>
<Property Name="DefaultBuildSpec" Type="Bool">true</Property>
<Property Name="DestinationDirectory" Type="Path">FPGA Bitfiles</Property>
<Property Name="NI.LV.FPGA.LastCompiledBitfilePath" Type="Path">/D/Git/CSPP/instr.lib/NI-FPGA-MCS/FPGA Bitfiles/NI-FPGA-MCS.lvproj_PCI7811R_target.main.vi.lvbitx</Property>
<Property Name="NI.LV.FPGA.LastCompiledBitfilePathRelativeToProject" Type="Path">FPGA Bitfiles/NI-FPGA-MCS.lvproj_PCI7811R_target.main.vi.lvbitx</Property>
<Property Name="ProjectPath" Type="Path">/D/Git/CSPP/instr.lib/NI-FPGA-MCS/NI-FPGA-MCS.lvproj</Property>
<Property Name="RelativePath" Type="Bool">true</Property>
<Property Name="RunWhenLoaded" Type="Bool">false</Property>
......@@ -334,7 +336,7 @@
<Property Name="BuildSpec" Type="Str">{3848B3EE-4C39-4D90-9218-D1B8B784F69A}</Property>
<Property Name="configString.guid" Type="Str">{404DBE7C-CAC6-4FE9-9A89-DFA145BA97A0}ArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO0;0;ReadMethodType=bool;WriteMethodType=bool{560E8DC4-7EA0-4F73-A678-B25333BE4782}Multiplier=2,000000;Divisor=1,000000{66DA5740-6176-44AE-B419-75202825834A}"ControlLogic=0;NumberOfElements=16383;Type=2;ReadArbs=Arbitrate if Multiple Requestors Only;ElementsPerRead=1;WriteArbs=Never Arbitrate;ElementsPerWrite=1;Implementation=2;MCSData;DataType=1000800000000001000940070003553332000100000000000000000000;DisableOnOverflowUnderflow=FALSE"{F03FCD98-7D80-45A3-9ABB-8184402E8CB6}ArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO1;0;ReadMethodType=bool;WriteMethodType=bool{F4507F0E-40E4-4D01-BEF6-642A6AA80BF5}ArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO2;0;ReadMethodType=bool;WriteMethodType=boolPCI-7813R/Clk40/falsefalseFPGA_EXECUTION_MODEFPGA_TARGETFPGA_TARGET_CLASSPCI_7813RFPGA_TARGET_FAMILYVIRTEX2TARGET_TYPEFPGA/[rSeriesConfig.Begin][rSeriesConfig.End]</Property>
<Property Name="configString.name" Type="Str">80MHzMultiplier=2,000000;Divisor=1,000000isActiveArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO2;0;ReadMethodType=bool;WriteMethodType=boolMCSData"ControlLogic=0;NumberOfElements=16383;Type=2;ReadArbs=Arbitrate if Multiple Requestors Only;ElementsPerRead=1;WriteArbs=Never Arbitrate;ElementsPerWrite=1;Implementation=2;MCSData;DataType=1000800000000001000940070003553332000100000000000000000000;DisableOnOverflowUnderflow=FALSE"PCI-7813R/Clk40/falsefalseFPGA_EXECUTION_MODEFPGA_TARGETFPGA_TARGET_CLASSPCI_7813RFPGA_TARGET_FAMILYVIRTEX2TARGET_TYPEFPGA/[rSeriesConfig.Begin][rSeriesConfig.End]signalInputArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO1;0;ReadMethodType=bool;WriteMethodType=boolstartTriggerArbitrationForOutputData=NeverArbitrate;ArbitrationForOutputEnable=NeverArbitrate;NumberOfSyncRegistersForOutputData=1;NumberOfSyncRegistersForOutputEnable=1;NumberOfSyncRegistersForReadInProject=Auto;resource=/Connector1/DIO0;0;ReadMethodType=bool;WriteMethodType=bool</Property>
<Property Name="NI.LV.FPGA.InterfaceBitfile" Type="Str">F:\LVSCC\LV2009\GPL\instr.lib\NI-FPGA-MCS\FPGA Bitfiles\NI-FPGA-MCS.lvproj_PCI7813R_target.main.vi.lvbitx</Property>
<Property Name="NI.LV.FPGA.InterfaceBitfile" Type="Str">D:\Git\CSPP\instr.lib\NI-FPGA-MCS\FPGA Bitfiles\NI-FPGA-MCS.lvproj_PCI7813R_target.main.vi.lvbitx</Property>
</Item>
<Item Name="MCSData" Type="FPGA FIFO">
<Property Name="Actual Number of Elements" Type="UInt">16383</Property>
......@@ -394,6 +396,8 @@
<Property Name="Comp.Xilinx.UseRecommended" Type="Bool">true</Property>
<Property Name="DefaultBuildSpec" Type="Bool">true</Property>
<Property Name="DestinationDirectory" Type="Path">FPGA Bitfiles</Property>
<Property Name="NI.LV.FPGA.LastCompiledBitfilePath" Type="Path">/D/Git/CSPP/instr.lib/NI-FPGA-MCS/FPGA Bitfiles/NI-FPGA-MCS.lvproj_PCI7813R_target.main.vi.lvbitx</Property>
<Property Name="NI.LV.FPGA.LastCompiledBitfilePathRelativeToProject" Type="Path">FPGA Bitfiles/NI-FPGA-MCS.lvproj_PCI7813R_target.main.vi.lvbitx</Property>
<Property Name="ProjectPath" Type="Path">/D/Git/CSPP/instr.lib/NI-FPGA-MCS/NI-FPGA-MCS.lvproj</Property>
<Property Name="RelativePath" Type="Bool">true</Property>
<Property Name="RunWhenLoaded" Type="Bool">false</Property>
......@@ -1057,7 +1061,7 @@
<Property Name="Source[11].itemID" Type="Ref">/My Computer/driver/NI-FPGA-MCS_Driver.lvlib/public/utility</Property>
<Property Name="Source[11].type" Type="Str">Container</Property>
<Property Name="Source[12].destinationIndex" Type="Int">0</Property>
<Property Name="Source[12].itemID" Type="Ref">/My Computer/driver/NI-FPGA-MCS_Driver.lvlib/private</Property>
<Property Name="Source[12].itemID" Type="Ref"></Property>
<Property Name="Source[12].type" Type="Str">Container</Property>
<Property Name="Source[13].destinationIndex" Type="Int">0</Property>
<Property Name="Source[13].itemID" Type="Ref">/My Computer/driver/NI-FPGA-MCS_Driver.lvlib/applicationExample2.vi</Property>
......
......@@ -106,6 +106,7 @@ Last update: 20-MAY-2008
</Item>
<Item Name="data" Type="Folder">
<Item Name="waitForData.vi" Type="VI" URL="../waitForData.vi"/>
<Item Name="waitOnIrq.vi" Type="VI" URL="../waitOnIrq.vi"/>
</Item>
<Item Name="utility" Type="Folder">
<Item Name="get library version.vi" Type="VI" URL="../get library version.vi"/>
......@@ -114,9 +115,6 @@ Last update: 20-MAY-2008
<Item Name="errorQuery.vi" Type="VI" URL="../errorQuery.vi"/>
</Item>
</Item>
<Item Name="private" Type="Folder">
<Property Name="NI.LibItem.Scope" Type="Int">2</Property>
</Item>
<Item Name="applicationExample1.vi" Type="VI" URL="../applicationExample1.vi"/>
<Item Name="applicationExample2.vi" Type="VI" URL="../applicationExample2.vi"/>
<Item Name="VI-Tree.vi" Type="VI" URL="../VI-Tree.vi"/>
......
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment