Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use CAN NET & OBJ for same port

Hai
    Can i configure CAN Network Interface Object, CAN Object for a same port (Port 0 or 1) at a same time to read or write data to CAN port.
I attached the VI i tried give me an idea to do this
 
Thanks
sk
 
_________________________
I am using LabVIEW 7.1  and PCMCIA CAN/2 Series 2 Hardware
0 Kudos
Message 1 of 5
(4,640 Views)

Hi

I modified your VI in order to initialize and set the filters ones, and then to proceed to run the objects and after that the read mult net.

See the attached VI.

Hope that helps.

 

DirkW

Message 2 of 5
(4,636 Views)
Hai Mr DirkW
            But i get error at ReadMult vi, Error - 1074388713 , if i configure Read Queue Length to 10 also its showing error.
 
 how to solve this
thanks
sk
 
 
_____________
I am using LabView7.1 , NI PCMCIA CAN card
0 Kudos
Message 3 of 5
(4,617 Views)

Hi,

 

The queue error appears becaus the read queue for Port 0, which is the constant in sequence frame 1 was set to zero (0).

Try now.

DirkW

0 Kudos
Message 4 of 5
(4,601 Views)

thanks Mr.DirkW

0 Kudos
Message 5 of 5
(4,589 Views)