DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

Save an experiment using DDE and DasyLab 9.0

I am using DasyLab 9.0 and am using MS Access VBA DDE to set up the experiment's global variables and global strings from values contained in the Access database. I can start DasyLab, load the experiment file, update the variables, start and stop the experiment. I don't know how to save the experiment with the updated variables from within Access VBA. Is there a DDE "Save" command in DasyLab which can be executed from Access VBA?
0 Kudos
Message 1 of 5
(7,792 Views)
In the Help, under General Notes about DDE, it lists

There are 4 additional DDE items to manipulate global strings or variables using DDE:

SetString, GetString, SetVariable, GetVariable, GetData, and SetData.


So, yes, you can use VBA to get a String or Variable.

You can also use the DDE Write or the ODBC write modules to sent data to your Access program.
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 2 of 5
(7,770 Views)
Thanks CJ but I am trying to use VBA to tell Dasylab to save the experiment file. That way our technicians won't accidentally use incorrect parameters when they run the next test.
0 Kudos
Message 3 of 5
(7,768 Views)
I don't think that we considered that option, so, it doesn't exist.

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 4 of 5
(7,765 Views)
Rats! Do you know of any possible work-arounds? Besides manual saves, that is.
0 Kudos
Message 5 of 5
(7,763 Views)