11-07-2012 12:07 PM
Ben,
Standby as there is a huge time difference between us. I will continue to post tomorrow as that is when I will hear back from him.
Thanks!
TheLT
11-08-2012 05:27 PM
To update all, I think there is an issue with the DLL to which I am trying to get the correct version, but it's not on their website and I just updated to their most current software.
I will update accordingly.
Thanks!
TheLT
11-08-2012 06:31 PM
I've seen issues where invoke nodes and property nodes behave this way in ActiveX and .NET applications where the versions of type libraries between developers differ. I'm assuming that getting the new version of the DLL will solve your problem. If not, another thing you can try is dropping a brand new invoke node from Quick Drop/the palettes, wiring to that, and selecting the method again.
11-13-2012 08:55 AM
Greetings everybody and sorry for the delay.
I do have a new DLL from the manufacturer but I have another issue that may be related to their DLL again. Sure I can post my code and describe my problem, but how can I post the DLL? These forums didn't like the extension.
Thanks!
Jesse
11-13-2012 10:08 AM
POst a "zip" of code plus dll.
Ben
11-13-2012 11:39 AM
Ben,
Duh! Sorry my brain is shot. Between this project I am working on and a LabVIEW course I am taking, I am OD'ing on LabVIEW
Attached is the zip file. It contains the DLL, the file I am trying to code with the Diolan (i2c-master-configure.vi), the data sheet for the magnetometer I am working with, and the other VI that I wrote to work with the magnetometer via the NI USB-8451 (Working Magnetometer.vi).
Apologies if my code is not right on the Diolan - I'm trying to program it similar to the one I have working, but I get an error code of 1172 - "Error calling method Dln.I2cMaster.Port.Write, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Inner Exception: Dln.Exceptions.DlnError: DLN adapter returns error: InvalidAddress.) <append><b>Dln.Exceptions.DlnError</b> in i2c-master-configure.vi"
I am by no means an expert at LabVIEW, but I am getting better day by day.
My code is in 2012. Let me know if you need a previous version.
Thanks!
TheLT
11-13-2012 12:18 PM
The game being these forums.
If you don't get a reply in a day or so, try starting a new thread. We loose interest fast and since you have a new question a new thread is actually appropriate.
Ben
11-13-2012 12:42 PM
Ben I was actually thinking that - but I didn't know if it was appropriate to start a new thread since I wasn't still too sure if it was a DLL issue.
Nonetheless - I'll close this issue and reopen a new one.
Thanks!
TheLT