06-15-2004 12:46 PM
06-15-2004 06:45 PM
04-02-2011 09:22 AM
hello ... I have the same problem when I send a single string to theengine so @ 16 \ S177 \ s40000 \ s833 \ s8333 \ s0 \ s0 \ r I gainand move the motor. But when I read a series of data in this sameway give me a notepad parks the same mistake VISA Read in SM_Command.vi code -1073807339, let me know if youhave some form of solution
04-02-2011 09:37 AM
The string you posted "@ 16 \ S177 \ s40000 \ s833 \ s8333 \ s0 \ s0 \ r" has spaces after the backslashes. "\ s" does not result in a "space"
Make sure that any string constant or control is set to '\ Codes Display'. If that does not solve the problem, please post your code along with typical data and a clear indication of what is wrong and what the expected result should be.
Lynn
04-02-2011 10:02 AM
04-02-2011 10:29 AM
You are not sending spaces. You are sending the backslash character followed by the "s" character. Similarly, you are not sending carriage returns art the end.
You need to convert the "\s" and "\r" character pairs in your file to actual space and carriage return characters before writing them to the serial port.
The '\ Codes Display' mode for a string indicator (which you are NOT using) does not change a string containing the '\' character to something else in the string. It only gives you a "nice" way to look at characters you could not see otherwise. Please read the help about string indicators.
Lynn
04-02-2011 11:07 AM
Hi do not really understand what I want to explain. Bone should I deal with another set of string or copy \ s what happens is that the enginecode so I just abmite @ 16 177 4000 833 8333 0 0 r, that is what Iwant to send but adds labview \ sa all spaces. I should ahcer if you could be a little lighter would be better. the aplications is the motor Silver max the quick controls.
Thanks
04-02-2011 11:58 AM
First, stop using a translator to convert your questions to English. It is doing a a poor job.
Second, read again what Lynn said. Your problem is with the text file - not LabVIEW. Your LabVIEW code is bad enough though. Do NOT use the run continous button.
04-02-2011 12:01 PM
Sorry .. so far I am making this application of labview and thensought help there things that I do not understand ..
thanks
04-02-2011 04:22 PM
Please guys Help me......
I'm trying to send data from a table in excel, serial port, so that I can command a quicksilver motor.
I made this code, but I could not even move the motor. I sent the application note. Please. Could you guide me a little?