From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Single Serial Packet vs Multiple Packets

Hello,

 

I am trying to program a stepper controller (Anahiem Automation DPE25601) via a usb to serial connector.  Their manual doesn't say how to load a program onto it, so I got a serial port listener used their sample program and found out how to do it myself.  However, it doesn't seem to like sending the entire program in one serial packet, only working when each line is send as seperate packet.  However the data I send is the exact same as their provided sample program.  One thing is that each line is seperated by a carrige return.  Do know why this might be?

 

Thanks,

Eric

0 Kudos
Message 1 of 2
(1,999 Views)

Because that is the way they chose to terminate their commands. If it works when each line has a carriage return then use a carriage return.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 2
(1,968 Views)