09-27-2011 10:44 AM
I met a problem to do serial communication using VISA .When I convert the decimal value of 10 to the corresponding type of ASC code ,there is an error, but other digital conversion is no problem. Can anyone help me?
Solved! Go to Solution.
09-27-2011 12:05 PM - edited 09-27-2011 12:06 PM
You need to post your VI with a filename that doesn't use Japanese or Chinese characters. It can't be opened on my PC because my OS doesn't understand that character set.
You said there is an error. Does it have an error code or a message?
09-27-2011 12:32 PM
09-27-2011 12:56 PM - edited 09-27-2011 12:58 PM
True. But people asking questions on the forums shouldn't have to make us jump through hoops to be able to open their VI's to help them. The openable VI is attached.
But in this case, once you get the VI open, you are right, there are a lot more hoops inside of that. Multiple While Loops, multiple sequence structures. The Run Forever outer while loop. The Stop LabVIEW function which actually negates the purpose of the Run Forever outer while loop. Reconfiguring the serial ports on every iteration of the inner for loop. Case structures 3 deep when a single case structure and a boolean AND will do. Backwards wires.
So where is the "conversion problem"?
And did you mean to say "date" in your subject line or "data"? I don't see anything related to dates.
09-27-2011 01:49 PM
09-27-2011 02:05 PM
@ben64 wrote:
Isn't it strange that the VI size changed from 59K to 46K just by renaming it?I opened it in LV 2011 and back saved it to the original file's LV 8.5 since I don't have LV 8.5 installed. So that change in size may be a function of the upgrade vs. downgrade file saving code. But that is still a significant percentage.
Ben64
09-27-2011 10:05 PM