LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple doskey emulator

I was trying to recreate a doskey emulator for an application we are doing.  If your not familiar with doskey, I am trying to capture a history of previous commands that when the user pushes the up and down arrow keys, they are able to select through the previously entered commands. 

 

I had to take I break but was wondering if someone on the forums could help me finish the implementation.  I think I'm close but for the life of me can't figure out why the enter key has to be pressed twice for my history to populate.  Among other little bugs:)

 

Regards,

 

-SS



0 Kudos
Message 1 of 4
(2,732 Views)
Set the string to "update while typing" It may help


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 2 of 4
(2,726 Views)

Hi Simon,

 

it has been a while.

My tip: Don't use the scancode, this differs from keyboard to keyboard. Use the VKey value instead. What is scancode 28 meant to do?

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 3 of 4
(2,722 Views)

t06afre, thanks I totally forgot about update while typing:)

 

TonP, good to see you too.  I'll try switching from scancodes to VKey and see how that works.  28 is the enter key on my keyboard.

 

Thanks guys,

 

-SS



0 Kudos
Message 4 of 4
(2,679 Views)