Hello
I'm using the rs-232 port to control a camera through a relay card. But I can only send one command, and nothing works after that. And I have to restart the labview to send another command.
The guy who made the relay card made also a controller in C++ and that works fine...and he says that I only need to send the ascii code.. with no termination character and no handshake....and the rs-232 should be 9600 baund, 8 ,N, 1.
So in my program I enter the ascii numbers and then use a "byte array to string" to send it to the rs-232 port.
The command for stearing right is :
Byte 1: 60
Byte 2: 83
Byte 3: 10 (this is the different channels on the relay card, it can be 1 to 16)
Byte 4: 01 (this is on or off, 1=on and 0=off)
Byte 5: 69
Byte 6: 62
I've also tried the serial example in labview but with the same result....and I have called the labview support but with no luck...
Hope anyone can help me out with this....or give me some ideas of what may be wrong...
Best regards
Martin Ojeda