Hi,
I'm already making use of the DDE server capability provided by DAQFactory to read data from DAQFactory, but now I'd like to be able to write data to DAQFactory from a Windows application. To accomplish the writing I'd like to use the DDE client capability, but after installing the dde.dll and dde.dds files in my DAQFactory installation directory, DAQFactory now crashes a couple seconds after launching. My first question is what's the best way to write channel data to DAQFactory from a Windows Application running on the same machine. If it's to use the DDE client capability, any thoughts as to why it's crashing? Does DAQFactory generate a runtime log file?

I'm running into a weird issue where I cannot delete any ports in the list of Serial Ports in the Ethernet/Serial Device dialog. Also, clicking the configure button does nothing where normally it opens the configuration dialog.

That was the issue. Two questions:
1 - How do I have empty channels? I know for a fact that these channels had data in them during our test.
2 - What's actually happening in my sequence when empty data is encountered?
Thanks!

Thank you for your prompt response!
I'm doing the export because we forgot to start logging and I'd like to recover our test data into a log file.
No data is coming in while I'm running the sequence. This is all being done post test. What I don't understand is how some of the channel data is different for the same channel and the same historical data index. For example, we have a channel called 'Rail_12V'. If I generate a new CSV string using all of the 150 channels. Rail_12V = 0.612 (not correct). However, if run the same sequence, but move the starting index from 0 to 70. 'Rail_12V' now equals 11.956 (correct). If I access Rail_12V using the same historical index it equals 11.956. Literally, everything is the same except the starting channel index. I should not that it's not just Rail_12V that's getting corrupted, but the corrupted channels are always deep into the channel index.

Is there a way to programatically read channel data without knowing the name of the channel? I'd like to do the following, but instead of hard typing the channel name, use the Channel.ListAll to get the channel names and iterate over that list to get each channel's data.
for(i=Left_Pump_Speed.GetHistoryCount()-1, i > 0 , i--)
Private.strLine = FormatDateTime("%c", Left_Pump_Speed.Time[i]) + ","
Private.strLine += DoubleToStr(Left_Pump_Speed[i]) + ","
File.Write(Private.handle, strLine);
delay(.1)
endfor

We've tried resetting the GUI side and the only thing that appears to help, albeit temporarily, is restarting DAQFactory.
This is a highly spec'd machine that should be able to handle these tasks with ease so I'm very surprised it's not able to.
During our next run I'll monitor the Task Manager to attempt to get more information.

Another debug data point is that we're running 6 modeless windows along with the main DAQfactory window. It appears as though if we disable the 6 modeless windows the DDE does not cut out. We're running everything on a desktop machine with two 6GB GeForce graphics cards that's having no problem keeping up.

Hi,
I wrote a basic GUI application that communicates with DAQFactory over DDE. Everything works beautifully during short runs, but during long runs (3+ days of 150 channel serial data collection) the data that's received over the DDE request either fails or is stale. Restarting DAQFactory fixes the issue temporarily, but DAQFactory falls back into this weird state shortly thereafter.
Not sure if it's related, but we're using persistent data for channel data storage where each channel is allocated 1,000,000 persistent points.