07-04-2017 03:05 AM
Hello,
I have a chassis cDAQ 9178 on it there is a NI 9862 module.
Using the hardware with DasyLab, the use of the CAN 9862 module requires the creation of a CAN XNET task on MAX.
I looked for MAX to create a CAN XNET task but I can not find anything.
Could someone help me?
Thank you
07-05-2017 08:08 AM
I'm very confused. So when making a task in MAX you are actually making a DAQmx task. Here you configure a DAQ channel to read or write various types of IO. This doesn't apply to XNet hardware and there is no such thing as creating a task of CAN.
I'm not sure how up to date Dasylab is, but it might be an issue with the fact that Dasylab supports the older NI-CAN and not the NI-XNet. If that is the case you need to be sure and install the compatibility layer software on XNet so that XNet CAN ports show up as NI-CAN ports for legacy support. This allows for either XNet drivers, or NI-CAN drivers to control the hardware.
I'm not experience with Dasylab so I don't know if or how a CAN bus is integrated into it, but I assume the manual and Dasylab support is probably a good place to start.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-06-2017 06:59 AM
Hello,
First of all, thanks for your reply.
Then, I would like to add one thing, is that on DasyLab I have the choice among 3 modules: NI-CAN CA, NI-CAN FA and NI-CAN XNET.
When I try to use the CAN-CA or CAN-FA modules DasyLab tells me that it would be necessary to create a preliminary task on MAX.
But when it comes to CAN FA it does not ask me anything, the problem is when I try to execute this program it tells me that there is no CAN card with which it will communicate. So I wonder if there was a way to make the DasyLab CAN FA module compatible with my 9862 module?
Thank you
07-06-2017 08:22 AM
Hi,
Please check your original message in the DASYLab board -- we figured out that DASYLab has the ability to create the "task" that it needs internally, not through NI MAX.
07-07-2017 02:58 AM
Ok, thank you very much CJ.