06-17-2008 03:46 AM - edited 06-17-2008 03:47 AM
Hi treadagon,
i´m so sorry, i forgot to connect the timeout shift register with the timeout input.
Please connect it, like shown in the picture.
You can change the time in the for loop, now there is 10 connected.
I use the timeout event to receive the data from your device, but because of i forgot to connect the value to it, this event will never execute. I use it, so that you can use the reset button while reading the data.
Hope it works now. Mike
06-17-2008 08:11 AM
06-17-2008 08:26 AM
06-18-2008 04:15 AM
06-18-2008 04:18 AM
Hi tredagon,
but now the timeout case will execute, right? You can remove the Wait function or you can connect a new number to it.
Mike
06-18-2008 04:37 AM
06-18-2008 04:42 AM
Hi treadagon,
the "-1" is only at the beginnig, the timeout case will never execute, but in the "start" event i set the timeout to 10msec. All your string constants has the "code display" active, is it correct? If i test your vi on my pc and i press the start button then the timeout case will execute. Can you see if your device react on your start command?
Mike
06-18-2008 06:08 AM - edited 06-18-2008 06:10 AM
06-18-2008 06:12 AM
Hi treadagon,
do you get some data back? Do you receive something in the timeout case?
Mike
06-18-2008 06:23 AM - edited 06-18-2008 06:27 AM