09-14-2012 07:34 AM - edited 09-14-2012 07:36 AM
Hi,
Firstable sorry for my English, and thank you to google translate
I try to communicate with a receiver via the RS232 port.
Instructions to be sent are like that:
RF8507000
MD2
AT1
BW1
My concern is in sending the data in the "visa write".
In fact, I found a solution with the use of an "End of Line Constant" at the end of each command,
but this slowed sending information.
When I send a single frame, the transfer is made immediately, but this approach does not satisfy me, because I want to send several different information.
I thought only send frames that change in the buffer, but I do not see how.
Do you think that my track is good? Or do you have another solution?
Solved! Go to Solution.
09-14-2012 08:55 AM - edited 09-14-2012 08:56 AM
there are gobs of posts on this topic including the following
09-14-2012 09:03 AM
Your approach is not at all correct. You do not want to be constant transmitting. I would suggest you look at the event structure so a command is sent only when a control value changes.
09-15-2012 01:08 AM
Thank you for you answers.
Unfortunately, I have the base development System. (LV 2011 SP1)
The "Event Structure" and "value change event" are with the Full version. Do you think I can do something with another VI ?
Thank you
09-15-2012 09:55 AM
@scab1984 wrote:
Thank you for you answers.
Unfortunately, I have the base development System. (LV 2011 SP1)
The "Event Structure" and "value change event" are with the Full version. Do you think I can do something with another VI ?
Thank you
Huh????
Event Structure is most definitely in the Full version.
09-15-2012 11:28 AM
nyc a écrit :
Huh????
Event Structure is most definitely in the Full version.
Yes it is in the Full version, but I have the Base version
09-17-2012 01:25 AM
I haven't worked with base development System but I'll be surprised if they're not included.
09-17-2012 02:06 AM
Just in case however, attached is a variation of your code. While what I've provided might be of some use to you, this really is a crude way of doing things. But I hope you can see the various methods that you could employ in order to do what you want.
09-17-2012 07:41 AM
@zerotolerance wrote:
I haven't worked with base development System but I'll be surprised if they're not included.
The event structure has not been in the base version. That changed with LV2012.
09-17-2012 10:45 AM
zerotolerance a écrit :
Just in case however, attached is a variation of your code. While what I've provided might be of some use to you, this really is a crude way of doing things. But I hope you can see the various methods that you could employ in order to do what you want.
Ok, thank you, I'll check this Vi tomorow.