DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

single interface

Solved!
Go to solution

Hello,

 

I was just wondering if there is a way to combine the displays from modules (a couple status displays and a few slider control modules) into a single user interface. I know this feature is available in labview, but have not be able to find instructions or reference to it in dasylab.

 

Also, I am currious to see if there was some way to protect a worksheet (possibly password protect), ultimately what I would be hoping to accomplish is create a worksheet to run an experiment, then create a single user interface so anyone could run the test with being able to adjust a couple values on slides, but without the power to go change the logic paths.

 

Thanks for the help.

0 Kudos
Message 1 of 7
(6,257 Views)
Solution
Accepted by topic author ryankirk

DASYLab provides the possibility to password protect the worksheet as well as the possibility to create Layouts.

 

Layouts are full screens that you  can use to create custom interfaces by integrating display modules, create texts fileds and display VAR and TEXT.

 

I would suggest the Full or Pro version if this is the way you want to go.

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 2 of 7
(6,256 Views)

I concur with Tom... the Layout windows feature is the way to create your custom display panel. There are several examples in the Help->>Examples, as well as a short tutorial on how to create one in the Getting Started Help.

 

DASYLab Full is the best choice to create a protected setup, with layout(s), user and program controls. You can do some of it with DASYLab Basic, but you only have one layout. DASYLab Full has 200.

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 3 of 7
(6,250 Views)

Thanks guys I was able to figure it out.

 

Now I am trying to to find an effective way to name the ASC file generated by the same worksheet.

 

Currently I have the filename including date and time so every run of the program will write a file with a unique name, however I would like to try to give the user the ability to name the file. I know that to do this I will need to use a global string, which will have to be defined prior to the start of recording because DASYlab cannot handle global strings being changed in the middle of recording.

 

Is there anyway I can create a GUI where the user can enter a filename (from the layout preferably) to be stored as a global string prior to recording, that way when recording starts the string will be correctly defined and  could be used as the filename.

 

0 Kudos
Message 4 of 7
(6,234 Views)

Here's how to do it....

 

Define one or more global strings; specify that the user needs to enter them at measurement start.

For convenience, name them (click the Definition button (V12) or the Extended button (earlier).

 

Now, when you start, the user is prompted.

 

Use the File name "Combi" option to create a file name like this:

 

${DATA_FOLDER}\${YEAR}-${MONTH_LZ}-${DAY_LZ}_${WORKORDER}_DATA.ASC

 

${DATA_FOLDER} is the default DASYLab folder (see the Options/Default Folder settings). Of course, you can use any path that you like. 

 

Now the worksheet starts with the initial settings.

 

If you want to change it while running, it's a two step process.

 

Use a Switch - Action combination. Action 0 prompts the user to enter the string again. Action 1 monitors the string, and if it changes, it tells the write module to close and reopen the file. That forces the file name change without having to stop and restart DASYLab.

 

See the attached DASYLab 12 example.

 

 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
Message 5 of 7
(6,223 Views)

In case you can't read my worksheet

 

2013_04_03_PrintScreen_0005.png

 

2013_04_03_PrintScreen_0001.png

2013_04_03_PrintScreen_0003.png

 

2013_04_03_PrintScreen_0002.png

 

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 6 of 7
(6,221 Views)

Awesome, thanks for the help cj

 

0 Kudos
Message 7 of 7
(6,212 Views)