06-28-2007 02:16 PM
06-28-2007 04:05 PM - edited 06-28-2007 04:05 PM
One thing is that you are not sending a termination character such as CR or LF after each command. Hyperterminal automatically appends both so you could try one or both. In your example, an easy way to do it is use a Concantanate String function inside the loop with the constants that are on the String palette.
Message Edited by Dennis Knutson on 06-28-2007 03:05 PM
07-03-2007 08:41 AM
07-05-2007 10:36 AM
Hi Dennis
I am back again. I added an Concatenate Strings commond inside the loop and put it in a Flat sequence structure and tried different chracters like CR and LF, but still I am not getting any read from the device.
I think the problem with my program is more serious than that, becuse when I use single stepping execuation, the command flow stucks at the Read function and retaines error number 1073676294! I hope this can explain my problem.
Thanks
07-05-2007 11:01 AM
07-05-2007 01:26 PM
11-06-2008 04:16 PM
hello i just read your thread,
I have a device which outputs data on Serial port.
This data is in .csv format.
I was able to run the example codes, but what i want is
1) Start the communcation from PC side.
2) Stop the retreival of data from the COM port and
3) plot the Graph of currently read values.
I have done the 1) and 3) part but i dont know how to stop retreiving the data and pass the control to 3) part to plot the graph.
please help??
I am using LV 8.0 so please attach a code in this version.
I think my problem is similar to yours , so it would be gr8 help if you can attach your code.
Thanx and Regards
11-06-2008 05:06 PM
My easy RS232 Terminal can help:
11-07-2008 08:38 AM
Hello 1232,
I posted this thread long time ago and need to refresh my memory 🙂 here are a few point that might be helpful:
1- if your device is comunicating on message-based language you should be able to finde the stop character in the device's manual. for example in my device the stop chracter is "b" so whenever I write "b" at the port , the device stops streaming data and goes to the next command.
2- an alternative for 1 can be using a stop characteristic in your vi program. for example if your are using while/for loop set a conditon (like time or boolean condition) to the loop's stop.
you can also find good stuff in the link that Eugen has posted.
Hope it helps.