Hi
I am having difficulties using a dll made from a labview. The VI is a simple analog voltage input measurement so it consists of a daq assistant and a numeric indicator which is connected to the terminal. I used the application builder to build a application(.exe) and a dll. The application works fine so i guess the vi is fine. To check if I can use the dll (I'm actually using ctypes in python) I move the .dll file to the python dll folder. Then I go to my python terminal, load the library using either mydll=ctypes.windll.labviewdll or mydll=ctypes.cdll.labviewdll then to make the voltage measurement i call the function mydll.AnalogInputVoltage(). This however always returns zero bu should return 1.06. I suspect that the vi has not been executed because the indicator is set to 0 before the vi is run. If that is the problem then how do I get the vi to run? If it is not then what could it be?
many thanks.
Kristinn