Menu ▾ ▴

#28 Python-call matplc.update()

open
nobody
None
5
2003-08-29
2003-08-29
Anonymous
No

I've written an Test-Programm in Python and set some
matplc-points. After this I call the function matplc.update()
and nothing happens.

The code is somthing like this:

while 1:
matplc.scan_beg()
matplc.update()

pt_led.set(1)
matplc.update()

.... code that takes a while

pt_led.set(0)

matplc.update()
matplc.scan_end()

pt_led is connected with a GnomePixmap.

I never see the LED going on.

What do I make wrong or is it a bug in the calling function?

Heiko Patz
Siemens Medical Solutions
email: heiko.patz@siemens.com

Discussion


Log in to post a comment.