06-02-2009 06:31 AM
I created one Vi which will write into the data log file. I built the exe for the same vi. now i am calling created dll to another vi. that mean,
i am trying to write data log file inside the dll. i have given constant path "i.e C:\xxx" and tried to write the data the file but dll is giving me error as below
" Error 1097 occurred at Call Library Function Node in Untitled 1
Possible reason(s):
LabVIEW: An exception occurred within the external code called by a Call Library Function Node. The exception may have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW.
so is it possible to write the file inside the dll?.
06-03-2009 07:27 AM
Hi Rajesh
Yes, It is possible to write file inside the dll
I am able to write file inside a DLL. It isnt giving me any error. I have tried this out with a text file and a datalog file. I have created a simple file, with the path as an input parameter, and the text as another input parameter.
I'm calling this in another LabVIEW VI. This creates the file with the expected data in it.
Vishal
Applications Engineer
National Instruments
06-03-2009 08:10 AM
Here i am giving constant file path inside the dll. still it is giving me error. could you please send me any code example vi.
06-03-2009 09:20 AM