LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

software control of KVM switch

Hi there,

 

I would like to ask if there are any possibilities to control a KVM (keyboard, video and mouse) switch by software?

 

We have tried different VI's trying to write and imitate strokes of the keyboard. The strokes can be imitated but are not 'seen' by our KVM switch. The problem is that the switch is phycically placed in the USB line from the keyboard and the software imitation of the strokes can not be 'seen' by the switch.

 

Does anyone have an idea or workaround for this problem?

 

With best regards,

Jens Dassen

 

0 Kudos
Message 1 of 8
(3,906 Views)

issue the equivallent of "Scroll-Lock  Scroll-lock".  Sorry, I have no serial sniffer at home (nor LabVIEW- Today) but any good serial sniffer utility should give you the "right" interpertation of what is really transmitted when the scroll-lock key is pressed.  (Hint: "Up arrow" really is "\1B"? in ascii)


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 8
(3,882 Views)

Not sure how you would send a message "upstream" essentially To the keyboard. You may have to consider a different KVM switch if possible.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 8
(3,853 Views)

Hello Jens;

 

Can you give some more information about the KVM you're currently using?

I'm not the expert on the topic, but I would like to have some more information.

 

Edit: Sorry problem in our internal system made me choose the wrong thread.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 8
(3,462 Views)

I'm guessing that the KVM switch needs to see a physical key being pressed from the attached keyboard, so I don't think it's possible to do this.  We can fake keystrokes to the operating system, but I think the switch happens inside the KVM swith and outside of the OS.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 8
(3,449 Views)

I completely agree with Bill.

However take a look at the original post date: this thread is rather old and probably doesn't deserve any more attention.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 6 of 8
(3,446 Views)

LOL curse you, Thierry C!  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 8
(3,442 Views)

Hello Bilko,

 

I know Cat Very Happy

 

I saw something come in our internal system, but somehow I took a part of the link and not the complete one and ended up over here.

 

C stands fro clumsy 😉

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 8 of 8
(3,413 Views)