LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN read Entries Pending does not reflect the actual value

Hi All,

 

I am trying to edit the Receive.VI to be part of my RX and TX.VI. I notice that the ncGet.Vi always giving me a <0 AttrValue and no CAN mesage is displayed on the table.

 

Anyone Can help?

 

 

Download All
0 Kudos
Message 1 of 3
(2,088 Views)

I do not understand your question.  The image doesn't show either of the VIs you attached, and it's not clear how merging the two attached VIs is related to your question about ncGet.vi.

 

Have you looked at the help for ncConfigCANNet?  From the help, referring to the extended comparator: "If you intend to use CAN Objects as the sole means of receiving extended frames from the network, you should disable all extended frame reception in the Network Interface by setting this attribute to the special value CFFFFFFF hex."  CFFFFFFF hex is 3489660927, the value you're using.  That's probably why you're not receiving any frames using the "net" interface.

0 Kudos
Message 2 of 3
(2,067 Views)

Hi Nathand,

 

I resolved this issue yesterday by adding another ncOpen and connect the objname to ncCanReadnet.vi. and close it independently.

 

Thanks.

 

Regards,

Alfred Tan

 

0 Kudos
Message 3 of 3
(2,063 Views)