04-19-2008 01:48 AM
04-19-2008 01:52 AM
Hi Melikyan,
you can set it at start up of your vi. Can you upload your vi??
Please reply to this post, and don´t start everytime a new one.
Use the "reply button"
Mike
04-19-2008 02:13 AM
04-19-2008 03:16 AM
04-19-2008 03:58 AM - edited 04-19-2008 04:01 AM
Hi Melikyan,
it looks good. What error did you get? Could it be that you have to send "CRLF" at the end of your string? I don´t know what your device expected.
Mike
04-19-2008 04:04 AM
Dear Mike actually the exe work like this....First time i Push "connect", second time "Load current"...and after that i get the data...
But Labview i use only 1 time Run button....
I attached 2 xls docs. I run by .exe and labview....and here i saved by serial monitor...Data is very big...But if for u not difficult could you show my mistake?
Thanks...
Best regards
Harut!
04-19-2008 04:13 AM - edited 04-19-2008 04:14 AM
Hi Melikyan,
where are your problems now? Does the communication work now? If you send a command from LabView to your device (only one at the moment), do you get the expected response?
Mike
04-19-2008 04:29 AM
The problem is i can't read any bytes....Byte count equal 0.
And now i can't check where come from the problem...
I used serial monitor program to check whole process.....Labview command request, but can't read...
I try compare commands from serial, if you can see the xls files Row 42 the write commands go to device different, i compare 2 files...Main part are same, but some parts are different....And everytime i push run, everytime codes changed.....Main hexacodes are fixed, everytime fixed and stable...But some are not fixed and after every run changes.....What is the problem?
Do you have any idea?
04-21-2008 01:47 PM