Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: SET-methods in xtt

SET-methods in xtt 1 year 4 weeks ago #11916

  • ratherhome
  • ratherhome's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hello again,
I'm working on my code for handling the gpio on rp3 and most of it is working the way I want it now but
I have a question about the ability to SET inverse, test etc from the right-click menu in xtt.

I have working code in the rt_io_m_....io.c for inverting the signals and setting testvalue.
(I use ChanD as channels and connect them to Di- or Do-objects and this works great.)

How do I detect the set signals from xtt-menu and act on them?

best
AE
The administrator has disabled public write access.

SET-methods in xtt 1 year 3 weeks ago #11917

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi AE,

Normally you don't have to do anything, the set command will find the connected channel and set the ConversionOn, InvertOn, TestOn or TestVaue attribute. Unfortunately it seems that it's only implemented for signals connected to ChanDi or ChanDo, not ChanD...

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: ratherhome

SET-methods in xtt 1 year 3 weeks ago #11918

  • ratherhome
  • ratherhome's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
OK,thanks Claes.

I suspected that but hoped there was some way to catch the set-signals and to handle it in my code.

Best
AE
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 9.027 seconds