Numeric Keyboard

Discuss issues and ideas you have to configuring displays with PowerVision
mikwin
Posts: 7
Joined: Thu Jan 19, 2012 3:20 pm

Numeric Keyboard

Post by mikwin » Mon Nov 25, 2013 9:59 am

I want to use a numeric keyboard to plug some numbers to be sent thru J1939 network to an another controler.
I have look in the reference guides but found nothing. I'm not very familiar with script's. Do you have an example I can dowload to learn?
Thank you.
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Numeric Keyboard

Post by jpratt » Wed Dec 11, 2013 9:37 am

With the holidays, I am afraid your post may have slipped thru the cracks.

To capture a number via a keyboard, there are a couple of steps. The best example is in the Murphy Standard 780 Configuration which is in the example configurations forum. In this configuration it does the following...

1. Capture Number as a string (using a number keyboard)....the example uses it for Service Reminders.
2. In scripting convert the string to a number which you can write to a variable.
3. Transmit the variable over J1939 using either a standard PGN mapped to a port (Connections) or a FreeFormCAN message setup in the same location.
Jake Pratt
Software Development Manager