latch math with keypressed trigger
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
Software Test Engineer I
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
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
Software Test Engineer I
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:
Hi Anze
Thank you for the detailed explanation. I was able to do the procedure.
Sincerely
Dani