09-21-2007 01:45 PM
09-21-2007 02:01 PM
09-25-2007 06:40 PM
09-26-2007 08:48 AM - edited 09-26-2007 08:48 AM

Message Edited by JasonS on 09-26-2007 08:49 AM
02-04-2015 09:54 AM
Jason,
Would a similar method work for sending a binary file over a serial connection? If so, how would I parse it without the CR/LF? Should I cut it into 1024 bytes?
The "VISA Write From File" function is not working with my target UUT (unit under test) so I would like to use the "VISA Write" function to give me more control.
Thanks for your help!!
Best Regards,
Sam Broyles
02-06-2015 09:05 AM
Sam,
A similar method should definitely work for binary files. The Read from Binary File function allows you to specify the number of bytes or elements of type to read. This is explained quite well in the LabVIEW Help for that function.
02-06-2015 12:57 PM
02-09-2015 03:46 PM
I apologize -- I did not intend to hijack this thread. My intention was to approach the problem from another angle. I was drawn to this thread because I was attempting to automate serial communication to replicate a manual procedure performed with Hyperterminal. Read/Write functions were easy to implement, but when it was time to upload a binary file, I hit a dead-end.
As I have researched more about the ymodem protocol, it's obvious that implementing this protocol with LabVIEW VISA functions would be a significant project on its own!
I am still evaluating my options. I will post the solution to the other thread.
Best Regards,
Sam Broyles