04-01-2008 08:54 AM
04-01-2008 09:42 AM - edited 04-01-2008 09:43 AM
Hi Itay,
which dll do you want to call? Do you have a special one? Attached is an example using a dll call with LV8.5.
Mike
04-01-2008 10:03 AM
Hi Mike
The name of this file is "svsidll_dev.dll"
thanks again
Itay
04-02-2008 05:32 AM
04-02-2008 05:48 AM
Hi,
We bought this DLL from SVSi company to control a detector (specterView).
The problem is that in LV 8.5 the program (they gave us) reconize the dll file but output the wrong output number (16 instead of 1) so that the program stops.
Using the same Dll file in LV 7.1 works just fine (i.e it outputs 1).
I don't know what is the bug.
Itay
04-02-2008 05:58 AM
Hai,
Could you post ur code or just send some screenshots of ur vi so that we can able to reproduce easily.
Thanks
Mathan
04-02-2008 10:25 AM
Hi Itay,
I have a couple more questions for you.
1. What operating system are you using?
2. Also, what language is the dLL created in (.NET assembly? or C? etc?)?
3. Have you tried running the program on any other version besides LabVIEW 8.5? And, if so, what were the results of those tests?
4. You are expecting a value of 1 and are seeing a value of 16. Did anything else in your setup change between using it in LabVIEW 7 and LabVIEW 8.5?
Just like the others have suggested, it would really help if you posted a screenshot of the block diagram or the actual VI. Also, maybe you can try to create a simple VI that calls the dLL using the Call Library Function Node and see if you get any other unexpected results. I hope this helps!
Carla
04-02-2008 10:25 AM
Hi Itay,
I have a couple more questions for you.
1. What operating system are you using?
2. Also, what language is the dLL created in (.NET assembly? or C? etc?)?
3. Have you tried running the program on any other version besides LabVIEW 8.5? And, if so, what were the results of those tests?
4. You are expecting a value of 1 and are seeing a value of 16. Did anything else in your setup change between using it in LabVIEW 7 and LabVIEW 8.5?
Just like the others have suggested, it would really help if you posted a screenshot of the block diagram or the actual VI. Also, maybe you can try to create a simple VI that calls the dLL using the Call Library Function Node and see if you get any other unexpected results. I hope this helps!
Carla
07-31-2008 09:42 AM
07-31-2008 10:36 AM