07-24-2009 01:36 PM
I have written a program in C++ which uses the functions in Dataskt.dll (the Datasocket functions). I have Labview 8.6 and the program works fine on my computer, but when I pass the program to someone who is running 8.5, I get error #-2147220224 with no explanation other than system error. I think that this error has to do with the cviauto files, but when I transfered them from my computer onto the other one it still generated the same error. The versions of the DataSocket that each computer is trying to access are the same (4.5 (0)).
Does anyone know what files I need to bundle with my program in order for this to work?
Thanks,
-Jeff VT
Solved! Go to Solution.
07-25-2009 12:04 AM
07-31-2009 02:33 PM
Because I am writing a program in IGOR (not LabVIEW) but I need the DataSocket functionality for live data viewing.
08-03-2009 11:24 AM
Hi Jeff,
I am a little confused on what you are doing in LV. Are you just calling this program written in Igor or are you writing some HMI that interfaces with both Igor and the datasocket dll's? Also, where in your program (if you have highlight execution active) is this error coming out of? Is it the call dll function?
Regards,
Andrew Eddleman
National Instruments
08-03-2009 11:40 AM
Sorry for the confusion, let me try to explain it again.
I have these files for DataSocket: Dataskt.dll,Dataskt.lib,Dataskt.h
I have written a program in C++ which uses the functions in Dataskt.dll. I have then exported this C++ program as another type of dll (.xop) which IGOR can use. I then used the functions in IGOR to get live data being published to a DataSocket Server in the form of strings and arrays.
When I developed the C++ program and the xop file on my computer it worked fine (I have Labview 8.6). But when I tried to implement the xop on another computer (that does not have Labview 8.6, usually 8.5 or 6.1) the IGOR program crashes and gives an error saying that the xop errored and -2147220224 is the error code. The error is not in Labview because it is not running at the time. If I download the demo version of Labview 8.6 on the computer then the program works perfectly, even after the demo expires.
The user never interfaces with Labview or C++. The whole interface is in IGOR. What I need to know is: Is there a particular file that has changed in Labview 8.6 which will allow me to distribute the xop without having to install the full demo of 8.6 if I include it in my install package for the xop?
Thanks,
-Jeff VT
08-04-2009 03:10 PM