05-25-2016 06:48 AM
Hi all,
I have to import can dbc in MAX via LabVIEW. To do this, I use the activex function of NI MAX. My code seem work but I have some trouble.
The code in enclosure import the dbc, but Max do a violent crash and my VI don't stop.
Is someone of NI staff could check my code ?
Regards.
05-25-2016 07:22 AM
Why wouldn't you use the Sysconfig API to do MAX things in LV? That's what it's intended to be used to do.
If all you want is the CAN database, why not use the XNET API to get the CAN database?
Why are you trying to do things that are already solved in a much more complex way?
05-25-2016 08:51 AM
Hi,
"Why wouldn't you use the Sysconfig API to do MAX things in LV? That's what it's intended to be used to do."
How to use Sysconfig to do this ?
"If all you want is the CAN database, why not use the XNET API to get the CAN database?"
All our application use old NI-CAN API. We don't have time to change it. With channel API we should import the dbc file into MAX. My goal is to import this dbc with out launching MAX.
"Why are you trying to do things that are already solved in a much more complex way?"
If you have the solution, please share.
regards