DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a loop

Hello, I'm new with DASYLab.

 

I need to take a reading that would operate on the principle as follows:

1. liberate first output przen 10 minutes ( variable inflicted at the start of measurement)

2. After 10 minutes, we enclose 2 output for 20 minutes (variable inflicted at the start of measurement)

After those 20 minutes, the program SHOULD jump to step 1, and so 10 times (variable inflicted at the start of measurement).

 

Can You give me a hint on how to do the loop for that.

0 Kudos
Message 1 of 3
(4,286 Views)

Your message is very confusing. 

 

I am not sure that the translation worked correctly. It may help if you post the question in your own language.

 

DASYLab is not based on traditional programming concepts of a loop. The DASYLab model is continuous data flow, unless interrupted by a function such as RELAY or LATCH. 

 

Maybe a data flow diagram or flowchart sketch would make it easier to explain what you need. 

 

 

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 3
(4,265 Views)

Thank you for your answer.

 

Tomorrow I will try to send the diagram and today I will try to describe it better:

during the start DASYLab should ask for 3 variables:

- duration of heating 5 min
- duration of cooling 2,5 min
- number of repetitions (steps) 10

 

The user using the start button starts the cycle :
- It heats the time specified as a variable, eg. 5 min
- After 5 minutes, wait 30 seconds
- Activate the cooling by the time specified as a variable, eg. 2.5 minutes
- Repeat the operation 10 times (variable given earlier)

 

Heatin and cooling are simply digital outputs from the module USB - SSR24.

 

After the 10 cycles of the program again asks about the variables.

Is this better explained?

0 Kudos
Message 3 of 3
(4,259 Views)