03-16-2011 06:13 AM
I'm trying to run an infinite loop where I'm testing a robot for thermal insulation.
I send the robot a command to run infinitely (using VISA communication)..., the robot starts running.
At the same time I obtain the temperature data from its motors (through sensors) and want to display it. The data should be refreshed at regular itervals but I only get broken display of the data at various instances of time during the robot's test-run.
I fear that there is a problem with the time synchronization. But having tried many permutations of time delays at various points in the program, I can not find the fault.
Any help is much appreciated.
Cheers
Rajat
03-16-2011 09:06 AM
We really need screen shots (*png format/NOT .bmp!) or attached code to see what might be the problem. There are an infinite number of mistakes that can be made (or nearly so), depending on how a program is written.
03-21-2011 02:32 AM
Hi
That could be a timing problem, did you try the LabVIEW VISA examples in the Example Finder ? (LabVIEW -> Help -> Find Examples)
There are several examples for using VISA with the serial interface.
Regards
Pixar