DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

"DD8x". Error message for loading process:Operating system error <> !

Using the OLE command I receive the following error:

Cannot load the file "File Name" with the loading process "DD8x". Error message for loading process:
Operating system error <> !

strCommand ="DATAFILEIMPORT('J:\ctf\GM\040119-2\dat7.dat','',0)"
lsuccess = IDIACommand.CmdExecuteSync(strCommand)

I get the same error with the "DataLoadHdFile" command.

After the error happens, I cannot load any files in the directory until I
reboot DIAdem.
0 Kudos
Message 1 of 4
(3,944 Views)
Hi

I would like to analyse the problem. Please, can you send me a test file and small script in which the problem is reproducible

Send this files to me directly: walter.rick@ni.com

Greetings

Walter Rick
0 Kudos
Message 2 of 4
(3,944 Views)
Hi punkmonkey,

I'm curious why you compare the results of the "DataLoadHdFile" command with that of the "DataFileImport" command. The former is a time-honored DAT-file-specific command for only reading the header file contents-- NOT the data, and the latter is a brand new DIAdem 9.0 function for loading all sorts of data files-- TDM files included.

If you want to load a DAT file using an OLE command, why don't you try the time-honored "DataLoad" command, which is specifically designed for loading DAT files? The "DataLoadHdFile" command is really only used to do selective loading (specific channels or rows) of part of a DAT file. Do you want to load selectively, or do you want to load all the channels from the DAT file?

When you get the same error with
the "DataLoadHdFile" command, are you executing that command also through OLE automation, or directly in DIAdem? What happens if you try both the "DataLoadHdFile" and the "DataFileImport" commands directly from DIAdem (no OLE)?

Brad Turpin
DIAdem Product Support Engineer
National Instruments
0 Kudos
Message 3 of 4
(3,944 Views)
Well, originally with an Excel VBA app (Basically vb6.0) I was able to load the data with the DataLoadHdFile. When that wasn't working in the .Net, I recorded an auto sequence and it recorded the DataFileImport command. I haven't tried anything within the autosequences since I am using DIAdem as an OLE server. Trying the DataLoad command in .Net I still receive the error "Operating system error <> !"
0 Kudos
Message 4 of 4
(3,944 Views)