取消
显示结果 
搜索替代 
您的意思是: 

Error 1077 at Property Node when using Dial Control

已解决!
转到解答

I have a waveform graph that I would like to behave as an oscilloscope where as you turn the dial the scale of the graph changes. I have this weird issue where it will only work if I am using a case structure to send the values to the Property Node otherwise I get Error 1077. Is this supposed to behave this way? I have written up an example code where it runs just fine when you use the dial as a selector for the case structure but if you use the dial to directly send a double precision value, it crashes. As far as I can tell they are identical, but it would be more convenient in scaling to use the dial directly rather than having to add new cases each time the number of values changes. Any thoughts?

0 项奖励
1 条消息(共 3 条)
2,891 次查看
解答
已被主题作者 kjon 接受

The default value of your direct dial is <0>, as can be seen when activating the text display:

grafik.png


That translates to a dbl value of zero which then leads to the error inside your property node. Either make the selection 0.05 the default value of your dial (right click -> make current value default) or initialize the dial by writing a proper constant value to a local variable of the dial before your while loop.

 

Regards, Jens

 

Kudos are welcome...
0 项奖励
2 条消息(共 3 条)
2,858 次查看

I thought that I had already done that but apparently not. Thanks!

0 项奖励
3 条消息(共 3 条)
2,838 次查看