12-03-2007 04:35 AM
12-03-2007 05:11 AM
12-03-2007 05:32 AM
Thanks Andre,
You have touched on a sore point there. I am trying to get this control system set up with the help of a computing student doing a years work experience, and as it took us so long to find the best way of getting the boards to respond to their correct address he is rather keen to do it from a single port. I am in favour of the easy way as you suggest! We even have a serial multiplexer.
Many thanks,
Alastair
12-03-2007 08:13 AM
12-03-2007 09:40 AM
Hi Lynn
Thanks for the advice. The address byte is 8 bits as is the following relay on/off byte. It has a stop bit but I am not sure about EOT characters as I am sending decimals rather than the ASCII string equired by VISA.
The problem is not in the relay speed, but in the serial interface itself. I will have no control of 'pump off' times in the final .vi as they will be calculated as part of an optimisation algorithm, so they could stop at exactly the same time as the mix cycle for example. We need something to do the following: 'if there are two simultaneous addresses, then send them with a slight time delay' according to my colleague who has experience of text based programming. He suggested that some sort of queue is required, but using the 'PtbyPt queue' method is still randomly flicking between the two addresses, but in a way it does store the commands, I think?
Best regards
Alastair
12-03-2007 09:50 AM - edited 12-03-2007 09:51 AM
12-03-2007 09:50 AM
12-03-2007 09:53 AM - edited 12-03-2007 09:55 AM
12-04-2007 03:23 AM
Thank you to everyone for your help, I will need some time to take in all this information as it is all new to me.
Many thanks
Alastair