LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

send file to serial port using comfromfile

Thanks for your support...

Anyhow as of now we are using hypertermial as solution for our work...

0 Kudos
Message 11 of 24
(2,070 Views)

Hello Vikram,

Did you catch it when Roberto wrote : "I'm not sure I can understand what is happening there, but it seems to me that you have saved the same log with different names: attached files are identical (fc found no differences: they are byte-by-byte the same)"

Did you really post the files you planned to post ?

0 Kudos
Message 12 of 24
(2,069 Views)

Ok..it's mistaken

 

Please find the log of hyperterminal commands

0 Kudos
Message 13 of 24
(2,062 Views)

There is 1 difference (44th character sent...that's the only difference) as you can see below :

undefined

0 Kudos
Message 14 of 24
(2,057 Views)

Erratum : 45th character sent (index 44 in 0-based index array)

0 Kudos
Message 15 of 24
(2,057 Views)

It seems that there is an answer from the controller (*0) in the middle of the frame for Hyperterminal (after 44 characters have been sent). Maybe you should read this answer before sending other characters to COM port ?

undefined

0 Kudos
Message 16 of 24
(2,052 Views)

I had cross checked that..and executed one more time freshly...
please find the log..even i surprised..why in between the response came in that file..
see the new log..there is no change in the data

0 Kudos
Message 17 of 24
(2,048 Views)

I guessing on the Data format and internal configuration of CVI..

my rs232 configuration is( buadrate 115200, data bits 7 and parity odd & stop bit 2)..

I am thinking the data bit is 7 in configuraiotn but sending one byte(8 bits)..I am totally confused what to do with this behavior.

0 Kudos
Message 18 of 24
(2,046 Views)

You're right.

 

Another point is "IOCTL_SERIAL_SET_TIMEOUTS" lines in CVI log, between each character sent. It is not visible in HYP log. Don't you think it could be the reason why it doesn't work ?

0 Kudos
Message 19 of 24
(2,045 Views)
About COM configuration : don't you have any documentation with your controller ?
0 Kudos
Message 20 of 24
(2,044 Views)