03-16-2010 11:37 AM
I upgraded to the PXI-XNET board to replace the CAN board. Now my software, which works on 6 other machines, does not work. I keep getting the error message "Unsupported database format". The database is a .dbc file (no change from before).
Error -1074384578 occurred at CAN Initialize.vi
I'm getting the impression that I'm going to have to upgrade all my software to use the XNET functions instead of any of the CAN ones. The "software layer" interface was installed with the XNET 1.0.
Any experience out there?
Thanks.
Solved! Go to Solution.
03-16-2010 12:10 PM
To use NI CAN channel API with XNET device, we need to install a “compatibility layer” software interface… Following links resolves the issue
Thanks
03-16-2010 12:25 PM
03-16-2010 12:59 PM
I have used my channel API drivers made for other CAN hardwares with X-NET cards after installing compatibility layer and it worked perfectly when I used with PCI based devices. I am not sure why it sholdn't work with PXI device.
"After the NI-XNET Compatibility Library for NI-CAN is installed, NI-XNET hardware also appears as NI PCI or PXI-815x devices under Devices and Interfaces along with actual NI-CAN devices. " - You should get both the CAN device channels listed in MAX and you should be able to run NI-Bus Monitor application on those channels.
03-16-2010 01:37 PM
03-19-2010 04:02 PM
03-19-2010 11:45 PM
03-22-2010 09:16 AM
I'm not sure if that works with LV real-time but I'm not doing that anyways. The idea behind the original program was to support multiple, selectable databases.
Only issue I'm having now is my outgoing messages..."buffer not large enough"...of course I can find no references on how to fix this issue, but hopefully I'll resolve it today.
03-22-2010 11:09 AM
Probably you can de-allocate the buffer size for incoming messages(Messages in CAN Read section) to 1 sample\Sec as it hardly makes any difference.
This might help you to allocate better periodicity for all write messages(CAN Write). You may reduce the messages with less than 100ms periodicity as it directly affects the CAN card buffer size.
Please let me know how you address it...:)...all de best...
02-28-2011 01:53 AM
@teritask wrote:
Since I'm using Labview RT, the database info has to be set up in the project, you can't use one as a file on the drive. Still having issues but as least this was cleared up.
Even I have the same problem. I always get the following error:
Error -1074384578 occurred at an unidentified location
Possible reason(s):
NI-XNET: (Hex 0xBFF6313E) Unsupported database format. For reading a database, the extension must be .xml, .dbc, .ncd, or .ldf. For saving, the extension must be .xml.
In my application, I am deploying the CAN .dbc file to the RT system by using Add Alias and Deploy Database XNET APIs. I can see the database deployed on the RT system, but when I try to open this database and access the cluster/signals inside it, I always get the above error. I am using the XNET APIs- Database node:Clusters:Signals on the RT system.
Can anyone help me out in this?
Regards,
FraggerFox!