04-16-2006 12:21 AM
04-17-2006 10:28 AM
04-17-2006 10:39 AM
04-17-2006 01:00 PM
One thing I noticed about your post is that it has a very structured flow to it. Have you considered making a state diagram VI? With defined steps of sending, waiting, moving on, etc... this type of architecture is perfect for your application. To create a simple state diagram VI use a TypeDef Enum with the names (order) of the states, a while loop with a shift register for the states, and a case structure in the loop for the individual states. This should give you the basis for the order of operations, and you simply code each state to do what it needs to. Let me know if you need any help getting it set up. Hope this helps!!
Tyler H.
National Instruments
04-18-2006 01:01 PM
Many thank's Dennis, Tyler and Albert for your contributions.
To Dennis: I would try your solution and comment's the result's here. Transmit non significative ceroes means that the receiver device expects a fixed number of digits after receiving an "F", so if the user want to send "234", the vi has to transmit F00234, to send the five digits expected by the receiver.
To Albert: I attach the current receive vi. They don't have any attemp to send anything.
To Tyler: It would great to know how to start a such state diagram, I'm realy new in Labview.
Again thank's for your time.
Have a nice day!
Diego
04-19-2006 10:51 AM