Reply
Contributor
Posts: 10
Registered: ‎02-27-2011
Accepted Solution

PCIe PIO Demo software information needed.


Hello,

- PCIe PIO demonstration software that come with the
  AES-S6PCIE-LX75T-G kit do not include source
  code, neither any information about the tools
  that was used to create that software.

- Is it possible to have that software source code
  and / or any information on it (the way it was
  created) ?

 


- A question:

    - Is the PCIe driver coming with the AES-S6PCIE-LX75T-G
      was developed using a toolkit like Jungo WinDriver,
      or the Microsoft WDK ?


Claude Sylvain
Electro-Technica inc.

Avnet Employee (Super Contributor)
Posts: 79
Registered: ‎04-17-2009

Re: PCIe PIO Demo software information needed.

The Windows driver has been used with many Avnet and Xilinx PCIe dev boards and was built using Microsoft Visual Studio.  The software application was written in MS VB6.  Send me a private email if you are interested in receiving the source files for the driver and application.

--
Tom Curran
Contributor
Posts: 10
Registered: ‎02-27-2011

Re: PCIe PIO Demo software information needed.


>
> The Windows driver has been used with many Avnet and Xilinx
> PCIe dev boards and was built using Microsoft Visual Studio.
> The software application was written in MS VB6.  Send me a
> private email if you are interested in receiving the source
> files for the driver and application.
>

Thank you for the information.

Claude Sylvain
Electro-Technica inc.


Highlighted
Regular Visitor
Posts: 6
Registered: ‎12-04-2012

Re: PCIe PIO Demo software information needed.

sir plz give me information how to read pcie bus and how to use it through programming example
thank you.
Contributor
Posts: 10
Registered: ‎02-27-2011

Re: PCIe PIO Demo software information needed.


Hello belavaidya,


>
> sir plz give me information how to read pcie bus and how to use
> it through programming example
> thank you.
>

- See Xilinx xapp1052 for a PCIe design example, including
  all hardware and software source code.

  Look at:
http://www.xilinx.com/support/documentation/topicbusinterfaceio_pciexpress.htm


Claude
Electro-Technica


Regular Visitor
Posts: 6
Registered: ‎12-04-2012

Re: PCIe PIO Demo software information needed.

sir,
pci pio demo software is properly working but this sw how to read data ?
can you give me s/w and driver source code..
my email id belavaidya@yahoo.com
Contributor
Posts: 10
Registered: ‎02-27-2011

Re: PCIe PIO Demo software information needed.


>
> sir,
> pci pio demo software is properly working but this sw how to read data ?
> can you give me s/w and driver source code..
> my email id belavaidya@yahoo.com
>

- As narrucmot says, the Windows driver has been used in many
  development kits, and the Windows drivers found in Xilinx
  xapp1052 application notes is almost the same as the one used
  in PCIe PIO demo software.  For the software application (GUI),
  you can start from the VB6 application, or translate it to
  other language (C/C++), then do some modifications to achieve
  the basic PCIe I/O operations.


- P.S.: For some unknown reasons, I was not able to get in touch
  with narrucmot through private email, to get the software source
  files of PCIe PIO Demo.  So, this is why I used and refer to
  Xilinx xapp1052 application notes.


Claude Sylvain
Electro-Technica.


Regular Visitor
Posts: 6
Registered: ‎12-04-2012

Re: PCIe PIO Demo software information needed.

Hello narrucmot,

 

       I have the DriverMgr2.dll source code, I have also installed the VHDL side code of PCIe endpoint, further I am using the functions like OpenDevice(), CloseDEvide(), Reset(), StartDMA(), SetDMAREad(), SetDMAWrite(), GetRegister32()...etc. in the PCIE_PIO_DEMO and PCI_PERFORMANCE_DEMO (The VB based application)

 

Now my application is hi speed data acquisition, so that I want to Develope an application in Visual C/C++ so i need proper guidance,

 

I have tried diffrent ways to Call this DLL functions from "DriverMgr2.dll" file like :

 

***********************************************************************************************

#include  <windows.h>

#import    "DriverMgr2.dll"

 

using namespace DRIVERMGRLib;

 

int main()

{

     Is3_1000 object;

     long index=6,status=0,result=0;

     result = object.OpenDevice(&status);

     result = object.GetRegister32(index);

     ...................................................................

     ...................................................................

     ...................................................................

     ...................................................................

     result = object.OpenDevice(&status);
     return 0;

}

 

***************************************************************************

 

 

doing this i have problem : error C2259 'Is3_1000' : Cannot Instantiate Abstact class due to following members :

 

there are so many virtual functions declared in Is3_1000 class

i have tried diffrent Derrived class but i couldn't call the functions from "DriverMgr2.dll"

I also try to find the derrived class like Cs3_1000,s3_1000 etc.. but it was not there in the namespace DRIVERMGRLib.

 

Kindly be needful and Provide me the guidance about my application or how to use/call functions of "DriverMgr2.dll" in visual C++ ;

Avnet Employee (Super Contributor)
Posts: 79
Registered: ‎04-17-2009

Re: PCIe PIO Demo software information needed.

Attached is the source code for the PCIe PIO example design.  This application was originally written using VB6.  It is not documented and is not supported, so use at your own risk.

 

--Tom

 

--
Tom Curran
Contributor
Posts: 10
Registered: ‎02-27-2011

Re: PCIe PIO Demo software information needed.


Hello Tom,


>
> Attached is the source code for the PCIe PIO example design.  This
> application was originally written using VB6.  It is not documented
> and is not supported, so use at your own risk.
>
 
Thank you.

Claude Sylvain
Electro-Technica