06-15-2012 03:39 PM
Is your target PXI a real-time machine?
I'm afraid I don't have enough experience with that remote configuration to know how to troubleshoot it.
If you can log on locally to the PXI which has the CAN card, you should be able to run the Bus Monitor directly.
If your target PXI is a RT machine, you should be able to modify the CAN Receive.vi to put outputs into a Network shared variable.
06-15-2012 04:08 PM
Yes, its a real time machine.
Any idea on how to modify the CAN Receive.vi to put outputs into a Network shared variable?
06-15-2012 04:32 PM
Been a while since I've worked with RT so I'm doing a little guessing from memory.
Replace the BaudRate and interface controls with constants.
In your RT Project, Add a variable to replace the Output Array 2. Making the datatype variant should work and then your host.vi would be responsible for extracting the array back to the Output Array 2 format.
Build, Deploy your vi and shared variables. Your host.vi should then poll the shared variable for display.
06-18-2012 09:54 AM
06-28-2012 11:47 AM
Because you are using LabVIEW 2k11 and Windows 7, you will need to upgrade your NI-CAN drivers first. 2.7.3 is the first version that will support the new LV and Windows 7.
Start with that and then I think you'll be able to get farther on these steps
06-28-2012 02:45 PM
I upgraded the NI-CAN drivers to 2.7.3 but i am still not able to see the option where i can select a channel and launch the bus monitor on MAX. What might be wrong?
I am just worndering, does VISA Test Panel serves the same purpose as the Bus monitor on MAX?
06-29-2012 09:43 AM
You will also need to install NI-CAN on your PXI chassis. Did you do that as well?
06-29-2012 10:35 AM
Yes i did.
I was just wondering, is the bus monitor something that needs to be installed as well. If so, can you please point me to the link where i can install it.
Also, what is the appropriate VI that i should use when creating a project to get access to the CAN ports?
06-29-2012 10:40 AM
If you search NI.com for "CAN Bus Monitor", there are alot of resources that come up:
Can I use Bus Monitor with RT system ::: http://digital.ni.com/public.nsf/allkb/6AF3AA9CE79
Can I use BM with 2-port CAN::: http://digital.ni.com/public.nsf/allkb/257368380A4
Beyond that, you need to use the NI-CAN driver in LabVIEW to work with your card and get access to the channels etc. As with most NI drivers, you typically open a reference to the card, and then extract the channels etc. Check out the example finder in LabVIEW