0
Answered

IQAN ActiveX Controls:

Hard Amin 7 months ago in IQANsimulate updated by Gustav Widén (System support) 4 weeks ago 6

Hello, 

I am facing issues working with IQANSimulate control.xlsm file. I receive compilation error when I try to browse the project file. Is this due to incompatibility in IQAN Simulate version vs the reference the VBA uses ?

Image 4354

+1

Try running the following from a command line in the IQANsimulate installation folder:


IQANsimulate.exe /regserver

This is normally done during installation, but if that failed for some reason this will register the COM interface again. The installation folder from version 7.00 can be found under "C:\Users\<user name>\AppData\Local\Programs\IQANsimulate 7".

Thanks Andres for the reply. 

I did run this command and it opens IQAN6 simulation instead of IQAN 7 simulation whereas the project is written in IQAN7.02 and IQAN7 simulator is installed. 

Also, can you please let me know if there is a way to force internal variables (IDC, Math etc) using simulation or any other external tool ? what I am seeing is that only IO's and CAN messages are allowed to be forced/ overwritten using simulation or IQAN simulate control macro. 

Image 4481

I managed to get the same symptom after running the regserver on version 6.

This is how I got out of it: 

As administrator, in the folder for version 6 E.g. 

"C:\Program Files (x86)\IQANsimulate 6"

run

IQANsimulate.exe /unregserver

Then in the folder for IQANsimulate 7, "C:\Users\<user name>\AppData\Local\Programs\IQANsimulate 7".

run 

IQANsimulate.exe /regserver

For version 7, I did this without admin privileges. 

With IQANsimulate 7.03, the workaround should no longer be needed thanks to case:

60570Problems installing IQANsimulate API
Fixed. IQANsimulate registration of the COM API no longer requires admin access.