LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Two Displays, Two Mice?

I have an interesting project with which I need some help.
 
I have a "kiosk" type of project wherein I want to execute two CVI applications on one computer, displayed on two screens, and each screen needs a mouse to do the operator interaction.  I imagine that somehow I can add a video card to the computer and get a second desktop.  This is where I need some help:
   1.  How can I direct the panel of an application to a specific desktop?
   2.  I'm not at all sure how to get a second mouse to operate only on the second desktop
 
If anyone out there has experience with this, or even just some ideas, please let me know.  I will greatly appreciate it.
0 Kudos
Message 1 of 14
(4,624 Views)
personally, i am more worried about 2 mice on the same computer. have you ever tried it ? mice are mutually exclusive, that is you will not have 2 mouse pointer on the screen but only one. when you move one mouse the pointer moves, when you move the other mouse the pointer take over from where it was and follows the movement of the second mouse

(if you like making jokes to your coworker, plug a second mouse on a computer and make sure the user does not know. it makes some good "mouse wars").

so as far as i can tell, you will have to find another way of displaying your application...
0 Kudos
Message 2 of 14
(4,620 Views)
Well... that's why I asked for advice.  If I have a second video card presenting a second desktop, not just an extension of the original desktop, is it possible to have two mice, one on each desktop?  Sounds pretty crazy to me...
0 Kudos
Message 3 of 14
(4,618 Views)

Try using two computers with the CVI applications linked via their TCP/IP library functions. Or is there some other important feature you need that rules out this approach?

JR

0 Kudos
Message 4 of 14
(4,604 Views)
Using
0 Kudos
Message 5 of 14
(4,602 Views)
Let's try that again...
 
Using two cmputers is the fallback plan, the two applications communicating with each other via TCP.  There is limited space in the console where this equipment will be mounted, thus the idea of pursuing doing this with a single computer...
0 Kudos
Message 6 of 14
(4,601 Views)
If you are not afraid of using Linux, its not too hard to run two X servers on seperate video cards with seperate mice and keyboards (if needed)  for each "head" on a single computer.

CVI for Linux works pretty well but you are stuck at CVI8.01 for now 😞

Hopefully CVI for Linux doesn't have running on display:0 hardwired in.  Someone from NI would have to answer this question before I spend the money on the Linux version for this application.

--wally.

0 Kudos
Message 7 of 14
(4,589 Views)
Roger that...
 
I asked my son, the Linux guru, if he had a recommendation for a video card.  In the process of answering that he said, if I could do this on Linux it would be simple....
0 Kudos
Message 8 of 14
(4,583 Views)

As long as X-Windows can be made happy with 2 mice and 2 screens running as separate displays (ie display:0 and display:1) then the CVI runtime engine should have no problems. I have run CVI applications on  3 X-displays running on 1 machine without any problems. display:0 is definitely not hard coded into CVI.

 

Michael

NI

0 Kudos
Message 9 of 14
(4,559 Views)
Problem is, I really can't use Linux for this project.  This is deliverable to the Navy, and XP is preferred.
0 Kudos
Message 10 of 14
(4,556 Views)