LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Function ncGetTimer.vi compatibility with XNET library

Hello,


During one of my projects, I had to develop a CAN driver to communicate with a product to test. The CAN card then used on the bench's computer was a PCI CAN Series 2 card, which is now obsolete. The development of this driver was done using the NI-CAN API, and the correct functioning of this driver was validated.


Duplications of this same bench are now in progress and we are now using PCI NI-8511 cards (XNET). So I have taken the steps to migrate my CAN driver to XNET but an error occurs when using the ncGetTimer.vi function:


Error -1074388732 occurred at NI-CAN Get Timer
(ncGetTimer.vi)

Possible reason(s):

NI-CAN: (Hex 0xBFF62104) The property ID, attribute ID, or operation code that you provided is invalid. Solution: Read the function description and verify that you provide a valid ID.


So I wonder: is this function compatible with the XNET library?

I searched in NI-CAN and NI-XNET documentations but I did not find any information indicating that this function is compatible or not with the XNET library.


Did someone have this same issue when migrating a working CAN application to XNET library?


I use this function when there is no data read in a CAN Object, to get the current timestamp and to check if the CAN communication is still responding.


Thanks in advance,

0 Kudos
Message 1 of 2
(1,130 Views)

Hi,

 

Please confirm whether you have tried following Migrating NI-CAN Applications to NI-XNET guide.

0 Kudos
Message 2 of 2
(1,001 Views)