The key concept you need to understand is the CAN buffers, the example has 2 buffers, 1 for CAN transmit, and the other for CAN receive.
That is what this example is for, it allows you to Programatically write a CAN message, then programatically call the CAN read to read a response to your CAN message USING THE SAME BUS.
So what you need to do is make a VI similar to the example that configures 1 CAN port to have BOTH a CAN receive buffer AND a transmit buffer. Then, once you use the CAN transmit VI to load a message into the transmit buffer, the PCI card will transmit it as soon as the hardware is ready. If the hardware receives a response from your device, it will put the received CAN message in the CAN receive buffer. That message response will be there in the buffer, and you read it out using a CAN read VI.
In a real CAN application the buffers are really fast, you can send and receive multiple CAN messages at 1 to 2 millisecond repetition rates, if you use the buffers. I just used a front panel switch to allow you to see what is going on in the code, your actual application will probably switch back and forth between the CAN receive and CAN transmit depending on what you need.
Hope this helps, please feel free to ask if you are confused.