Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Download an s-record file. Works with hypterminal,doesn't work with meas studio.

Having problems downloading s-record to unit under test. Hyperterminal downloads file in seconds. But, measurement studio takes a long time, have to send file byte by byte. Don't get correct return value when sending file. Tried Xmodemsend function. Com port is set for direct connection.
 
 
0 Kudos
Message 1 of 3
(3,538 Views)
This is going to be hard to solve without a little more information. Can you let us know what libraries you're using (NI-Serial, NI-VISA, etc), and maybe provide the code that's exhibiting the problem? I believe XModemSend is part of the LabWindows/CVI serial library - is that what you're using, and if so, are you using from Microsoft Visual C++ or are you developing with LabWindows/CVI? If the latter, you might get a better answer to your question from the LabWindows/CVI forum.
0 Kudos
Message 2 of 3
(3,535 Views)

Yes, you are probably correct about going to the LabWindows CVI forum. Just found my problem. The text file had send command inside file. Was sending serial hex command first and then sending data. Problem solved.

I was opening a s-record file and storing this information into the buffer, then send the s-record stored into the buffer via COM port(LW CVI rs232 library).

 

Thanks for your input Glenn.

0 Kudos
Message 3 of 3
(3,529 Views)