09-16-2014 11:25 AM
Hello,
I would like to communicate in real time with a sound level meter via serial port. I've already created my program but still I have a delay of 3 seconds, it maybe not important but I do have to remove it for my application.
Is there any possibility to delete completely the delay?
Just for information, my Vi contains two local variables, could it be the reason? Or maybe because a certain timeout of the serial port?
If you need to see the program, just tell me.
Thank you in advance for your help.
Solved! Go to Solution.
09-16-2014 11:36 AM
09-17-2014 08:32 AM
Hi,
Thank you for your reply.
Here is a snapshot of the first frame of my sequence and the control panel of the program.
09-17-2014 08:37 AM
Actually the best thing is to post the actual VI. The next best thing is a snapshot of the block diagram.
Can't really tell anything from the front panel. Are you talking about the dip?
09-17-2014 08:42 AM
09-17-2014 09:20 AM
@Dennis_Knutson wrote:
The only thing I can say about your attachment is pretty ugly colors.
Maybe it is being developed for a young girl who likes pink/purple...or a guy, not that there is anything wrong with that.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-17-2014 09:44 AM
my Vi contains two local variables, could it be the reason?
Local variables are one of the fastest data transfer method.
But you should use them very carefully.
by real time do you mean if you are sending some command then you should get reply within certain predefined amount of time??
09-17-2014 10:02 AM
09-17-2014 11:17 AM
Actually, I would like to receive the data from the instrument exactly at the same time it displays it on its own screen.
I'm using a stacked sequence, because I have two loops and I want that one runs before the other.
09-17-2014 11:29 AM
@Yasmine90 wrote:
Actually, I would like to receive the data from the instrument exactly at the same time it displays it on its own screen.
I'm using a stacked sequence, because I have two loops and I want that one runs before the other.
I think we either need to see code (or even a picture of the block diagram) or discontinue the discussion. It's like trying to diagnose what's wrong with a car but the owner won't let you near it.