| Author |
Message |
Keith
Joined: Jun 1, 2008 Posts: 24
|
Posted: Jun 27, 2008 9:56 PM Post subject: Using Getter-Setter to send a value to a Text Display |
|
Jarek (or any other Bioera guru),
I am trying to use a combination of Property Getter and Property Setter to send the contents of the Patiennt Info field in EDF Reader to a Text Display. Here are my settings:
-From- EDF Reader
-To- Property Getter [into EV Event (top right side), PropType- Element Properties, Output- Object, Property-Patient, Initial Output- Selected Value, Trigger- Any Sample, Immediate- Checked, Output- Out (Object)]
-To- Property Setter [into In Object (right side, not bottom), Scope- Element Properties, Input Type- Object, Post Action- None, Property- Initial Text, Immediate- Checked, Output- EO Event (right side, not bottom)]
-To- Text Display [Text Object (left side, not bottom)]
My results are- Usually it does nothing, but if I play with some of the setting (reinit target, etc.) it will post the patient info to the initial text, but retains that value even when I load a new file.
Any ideas regarding what I am doing wrong, or am I even going about it correctly? I am using a ComboToolBar to select the files to send to the reader, and want the patient name to change as I change files (Ie. reflect the patient info from the currently loaded file)
Thanks in advance!!
-Keith
|
|
 |
Keith
Joined: Jun 1, 2008 Posts: 24
|
Posted: Jun 27, 2008 10:00 PM Post subject: |
|
Quick correction::
The line begining \"-To- Property Getter::
the \"into EV Event (top right side)\" should read \"into EV Event (top LEFT side),..
Thanks!
-Keith |
|
 |
Keith
Joined: Jun 1, 2008 Posts: 24
|
Posted: Jun 27, 2008 10:02 PM Post subject: |
|
Another Correction::
Ditto the above for the \"Into\" on property setter!! The pipe goes (of course) into the left side of the element, not the right!
Brief left/right confusion going on there
Sorry!!!
-Keith
|
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1075
|
Posted: Jun 28, 2008 1:02 AM Post subject: |
|
Keith,
it might be easier to try on a real design. But general comment I have is: don't use PropertySetter. Connect the PropertyGetter directly to TextDisplay. You are already retrieving text, so there is no need. I think after that it should work. If not, send me a snippet design.
Jarek
|
|
 |
Keith
Joined: Jun 1, 2008 Posts: 24
|
Posted: Jun 28, 2008 3:39 AM Post subject: |
|
Jarek,
It looks like Property Setter was what was confusing things. Once I took it out, the design worked exactly as I wanted it to.
Slowly but surely i am getting the hang of things! Thank you for your undying patience! The more I work with it the more intuitive it becomes. And the cool thing is I am really just beginning to scratch the surface of Bioera's potential.
Thanks Jarek!
-Keith
|
|