06-11-2009 10:26 AM
I am using the NI-CAN Channel API in Labview. For the CAN Initialize VI filepath input, which of the following is more desirable:
1. Leave the filepath input unwired which will cause the VI to gather message definitions from MAX. This assumes that .ncd file has been loaded into MAX. It seems that whenever I load a configuration file into MAX, I get a message which states the following, "You are trying to import many channels into MAX. For performance reasons, it is recommended to import only channels for your application. If you require many channels, you can also access the database file from within your application (instead of MAX)."
2. Specify a path to the .ncd configuration file for the filepath input for the CAN Initialize VI.
It seems to me that option 2 is preferred. Most likely, I will specify the filepath to the .ncd file and also load the configuration file into MAX. By doing so, will I still get a performance degradation? Or is the performance hit only if I try to leave the filepath unwired?
Thanks.
06-12-2009 10:39 AM
buff,
From a perfromance standpoint the most specific information you can give the program (ie: the path) will lead to the best performance. The main advantage of leaving it unwired is simplicity of use.