01-04-2017 08:27 AM
Can I simulate a 9826 CAN module in a simulated cDAQ-9132 chassis utilizing MAX?
Solved! Go to Solution.
01-04-2017 09:47 AM
First of all, I guess it is 9862 module, not 9826.
I did not find reason why not. Do you have NI-XNET installed?
First you simulate chassis, then press "Configure simulated cDAQ chassis" button in MAX. Module should appear in the list. I do not have XNET installed, it does not show for me.
01-04-2017 10:08 AM
Thanks for the correction. yep! 9862. I do have xnet installed. NI 9862 is not in drop down list. All works great with actual hardware which I don't have at this facility.
01-05-2017 11:18 AM
Hi Sfrosty,
Unfortunately, no, there is no way to simulate the XNET modules in MAX. For the DAQ devices, it is relatively simple to generate dummy data (like basic sine waves), but as each XNET configuration will be different and behave differently on each bus. Thus, there is no straightforward way to simulate them, and so it is not possible.
However, you can certainly still interface with the XNET Database in the absence of the module, and develop the code to later interface with your actual hardware.
Regards,
01-05-2017 12:57 PM
Thank You! I was looking into running the "CAN loopback Test.vi" example without the actual hardware as I did with the hardware. Was just looking for a definitive answer. Thanks again!
01-05-2017 02:17 PM - edited 01-05-2017 02:18 PM
The older NI-CAN has two virtual CAN ports that are tied to one another. Write to one and you'll read it on the other. Very useful for testing out code, or seeing how APIs might work for other NI toolkits like ECU and Automotive Diagnostic. XNet for some reason doesn't have this functionality and here it the idea exchange item I made on it last year. Vote for it if you are interested.
https://forums.ni.com/t5/LabVIEW-Idea-Exchange/XNet-Virtual-Hardware-Ports/idi-p/3269889
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord