DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DAC - dialog box error

Solved!
Go to solution

Hello,

 

Does somebody know why the error  from the attachment appear.

It is about the visual window? or something else?

 

Thank you for your time,

 

Marius

Download All
0 Kudos
Message 1 of 12
(5,729 Views)

Hello Marius,

 

It seems that an online display window - it seems to be the numeric one - doesn't have enough space to display the values. That's what the message tells. But to go more in detail I need the DAC scheme.

 

Greetings

Walter

0 Kudos
Message 2 of 12
(5,694 Views)

Hello Walter,

 

I have try to modify the parameters from the Digits-Display Parameter Window, but no use.

I have attached the scheme to go more in detail.

 

Regarding to this scheme, I want to ask something:

 

Can I create two channels, depending on the Status Block; on one state to send a value of the Switch_Tens channel  to Channel ON-Status, and in other states to send the value of the Switch_Tens channel to the Off-Status Channel, and this to be a cycle, store in a new channel named Cycles.

And this states to be:  On-Status for example from 0.5 to 1.5, and the OFF-Status to be from 15 to 20.

 

If you can help me with that I will be forever grateful, because I can end this project.

 

Thank you for your time.

 

Best regards,

 

Marius

0 Kudos
Message 3 of 12
(5,667 Views)

Hello Marse,

 

Your DAC scheme is running fine on my PC. How do you start the measurement? Do you use a script?

 

In the DAC panel "Processing" you find the block "Signal Multiplexer" which allows - depending on a certain value - to switch between connected inputs. Maybe this can help answering the question.

 

Greetings 

Walter

0 Kudos
Message 4 of 12
(5,663 Views)

Hello Walter,

 

For starting the measurement I use a dialog box interface, from were I call the scheme and I start the measurement.

I have a look on the "Signal Multiplexer" block, but I don't know how to use it on my DAC scheme.

I update the scheme with a status block, were I can see when I have On state and OFF state, and from here I thing I have to see how I can copy from the channels of the Switch Tens block value from OFF state in a OFF_1 channel, and  the value for the On state in a ON_1 channel.

Please give me a hint, or an example how I can apply the "Signal Multiplexer" block to my scheme, and to result the other channels.

 

P.S: (Off topic) Please tell  me what is the script command ( in the dialog box) to stop the measurement of the scheme.

In my Dialog box interface I start the measurement, I have to stop it , and after that to analyze the data,

only form the interface, not to touch the visual window from the Diadem.

 

 

Thank you for your time.

 

Best regards,

 

Marius

0 Kudos
Message 5 of 12
(5,646 Views)
Hello Marse

 

Please use everytime the command SchemeCheck before starting a measurement with SchemeStart.

Maybe this solves the error message problem.

 

Call SchemeCheck("normal")          ' Checks the block diagram

Call SchemeMeasstart()

 

You can stop the measurement with the following command:

 

DCAbort = 1

 

 

Attached you find a DAC scheme which explains the Multiplexer block.

 

Greetings

Walter

0 Kudos
Message 6 of 12
(5,641 Views)

Hy Walter,

 

I try to do like you said but with no result.

I have attached the schemes, the SUD and the error that I receive.

Maybe now you can see what is the problem.

 

Strange is that if I start the DAC scheme from Diadem DAC, and not from the SUD I don't receive any error.

 

And a second issue is: How I can attache to the DAC schemes, a alarm every time the values aren't between the lower and upper limits from the Window block, and count them.

 

Bye,

 

Marius

0 Kudos
Message 7 of 12
(5,302 Views)

Hello Marius,

 

I'm sorry, but I can't reproduce the behavior you described. I changed the SUD a little - but only the paths you you've edited - and then I was able to run both DAC schemes without problem. My DIAdem was version 11.1.

 

For your second question I created a small example and attached it.

 

Greetings

Walter

0 Kudos
Message 8 of 12
(5,277 Views)

Hello Walter,

 

Thank you for the example, it works OK.

 

Refering to the error , maybe it appear only on Diadem 10.2( this is what I use).

Can you try the schemes and SUD on Diadem 10.2?

 

Thank you again,

 

Marius

0 Kudos
Message 9 of 12
(5,265 Views)

Hello Marius,

 

I've tested in 10.2 and it worked fine. I'm not able to reproduce it. Please try to change the size of the VISUAL blocks perhaps this can help.

 

Greetings 

Walter

0 Kudos
Message 10 of 12
(5,262 Views)