05-01-2013 09:57 PM
Hello all. I'm pretty new at Labview, and would really appreciate some input. I'm trying to send a digital signal from one computer to another, and when the slave computer reads the signal it moves the cursor, and clicks a place on the screen. I'm using two Phidget 1018 interface boards. Without using the signal, I was able to move the cursor/click by using an event structure and triggering it by a value change in the "OK" button. With the signal, I made it so an LED lights up when the signal is hot, and then the event structure runs from this value change. I can't use events without direct interaction however, as I found out here: http://digital.ni.com/public.nsf/allkb/024828947672E68586256ADB0071FB1B.
So, my thoughts are now, can I do this with a case structure, and have my high/low digital signal be my case selector for true/false? Or is there a better way to write this program? I'm a little lost and any help would be much appreciated.
Attached is my case structure version for reference.
05-02-2013 01:10 PM
Hi redferdaze,
You're right that you can't use 'value change' events when values are programmatically changed. I can't see the subVIs in your application, so it's difficult to see exactly what you're doing, but I'm assuming that there must be some event that is captured in order to change the status of the LED. It looks like something in your subVI must already be reading the digital signal and creating a boolean output in order to control the LED. You should be able to connect this boolean output directly to the case selector of your event case. This output can still be connected to the LED as well if you would like to see the indicator.
I hope this helps!