copy the folder "devc-xrserpci" to your QNX Momentics IDE's current workspace folder.

Select File->Import option
In Import dialog box, select General->Existing Projects into Workspace, click Next button.
In Import Properties dialog box, click "Browse" butoon next to "Select root directory" edit box.
Browse to recently copied "devc-xrserpci" folder in your workspace. Click OK.
This will add "devc-xrserpci" into the Projects window. Click Finish.
Now "devc-xrserpci" is available in Proejct Explore.
Right click on "devc-xrserpci" in Project Explorer and select Build from the drop down menu.
This will build both debug and release version. Go to "devc-xrserpci\x86\o" folder and copy "devc-xrserpci" into your Target File System Navigator or to your Target system manually.
In your target system, open a Terminal and change the working directory to the folder where "evc-xrserpci" file is copied.
Type "./devc-xrserpci" and Enter.
This will display the Version of the driver module and also the number of ports in the system.
The Exar serial ports are listed as "/dev/ser3", "/dev/ser4", etc, and are ready to use.

You can use, 
echo "hello" > /dev/ser3
-- to send text "hello" on Exar's channel 1 and 
cat < /dev/ser4 
-- to listen on Exar's channel 2, to verify the driver and the board. (Please connect Channel 1 to Channel 2 prior to this test.)

If there are more than one Exar PCI/PCIe boards present in the system, this is the order of port enumeration:
0x158, 0x154, 0x152, 0x258, 0x254, 0x252, 0x358, 0x354, and then 0x352.
