LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI MAX in LabVIEW via ActiveX

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.

0 Kudos
Message 1 of 3
(2,920 Views)

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?

0 Kudos
Message 2 of 3
(2,910 Views)

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

0 Kudos
Message 3 of 3
(2,896 Views)