02-20-2008 10:06 AM
02-21-2008 04:32 PM
Hi TAS1,
Try the Basic Serial Write and Read Example VI, and see if the example works. You can find the example in the NI Example Folder, which you can access by navigating to Help » Find Examples... in LabVIEW. The behavior you described is unexpected. Make sure that there is a delay, as shown in the example, and that the VI executes all the way to the end, where there should be a VISA Close. It is important that VISA Close executes, because this clears the VISA resource. Please let me know if you have any questions about the example.
Regards,
Rima
01-27-2015 03:09 AM
Hello
I found the example in the help of Labview and I run it but I got the this error below!
Error -1073807343 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->Serial Write and Read on Two Ports.vi
01-27-2015 04:35 AM
You used the 'Two port' example. According to the error you don't have a second port or specified a non existing port.
Start with the 'Simple Serial' example.
Kees
01-27-2015 04:40 AM
Actually I have my own serial communcation between Labview and Arduino through Xbee to control mobile robot.
the problem is sometimes I lost the communcation with the robot! then I have to restart Labview and the robot to get the communcation back,
and also I have time delay communaction when I send commands, the time delay around 2 seconds!
01-27-2015 04:44 AM
Sorry I see now that you Hyjacked this thread. Please start a new thread with your question with the VI you use and the specification of the target.