latch math with keypressed trigger

  • Software
  • latch math with keypressed trigger
Dani Levin

Posted on 12.01.2016 11:41

Hi

I want to implement value latching from analog channels into a table.

I'm able to do this with defining math channel with keypressed() option which triggers the latch.

Two questions on this topic:

1.The keypressed option seem not to work with lowercase keys (ASCII 97-122), is this the case?

2. It there a way to define mouse click as digital match channel?

Thank you

Dani

Anže Baš
Software Test Engineer I
Posted on 12.01.2016 13:35

Hey

To answer your to questions:

1. Yes, only the upper case letters are used for the keypressed function, because on a keybord you only see uppercase letters,

2. You can use a mouse click as a digital channel, by adding a user input channel and then a push button in the measure screen. Unfortunately there is no easier way.

I hope this helps you in any way

Anže


Dani Levin

Posted on 21.01.2016 14:45

Hi Anze

Thank you for the reply. Sorry for my late one.

I struggled with control channels/match but was unbale to realise mouse click as digital input. Could you give me a rough guidelines for this.


Thank you in advance

Dani

Anže Baš
Software Test Engineer I
Posted on 25.01.2016 07:32

Hello Dani,

Here are the steps to create control channel, for latch:

1. In your setup add the User inputs from the More... button,

2. add a channel,

3. in math add the latch value math math module, select your input channel and the added control channel as the criteria,

4. then go to measure and add a input control display (select push button as the display type).

After these steps your setup should be done. I also attached a setup with all these options selected.

If you have any more questions please let me know.





Attached files:
Dani Levin

Posted on 26.01.2016 16:12

Hi Anze

Thank you for the detailed explanation. I was able to do the procedure.


Sincerely

Dani










Login to reply to this topic. If you don't have account yet, you can signup for free account .