02-12-2008 09:34 AM
02-12-2008 11:45 AM
02-12-2008 03:58 PM
It is unfortunate that the IO assistant hides so much of the code.. It makes it difficult to "look" at the code and point towards the problem area..
03-05-2008 02:04 PM
08-25-2008 05:53 AM
Hallo CyO Mike,
unfortunately I'm responding so late to your post, so I hope you are still listening for replies.
I've discovered almost the same problem with the same controller. I'm using two cascaded SMC100 and communicate via a USB<-->RS232 adapter. The same phenomena, issuing commands work fine, but queries sometimes won't get answered. I start an absolute motion and query position and status while moving (xxTP? and xxTS?) and don't get any response from the controllers. Sometimes yes, sometimes no.
I don't use this IO Assistant, I don't like ExpresVIs at all since I've used one and debugged for weeks to find out that it produced a memory leak in my application:-(
I used both, the provided LabVIEW driver and my own customized message strings via VISA, but that don't make any difference.
Since you've posted in february, have you resolved this issue, can you tell me anything interesting about that? At the moment I'm pretty sure that my code works (I'm definetely no LabVIEW newbie anymore) and I suspect this USB-RS232 adapter not working correct, but I couldn't verify this theory yet, because of lacking hardware.
Greetings
Oli
08-26-2008 12:50 PM
Hey Olifr!
Often times I have r un into problems where I will write to my RS232 instrument and not read anything back. Sometimes, the simplest fix is to add a delay between the write and the read. That way the instrument gets time to process the write, and allow you to read something back on the bus.
08-27-2008 06:00 AM
Hallo Mr Song,
thanks for trying to help me. That's definetely not the problem, I inserted delays of up to 100ms, and even single step debugging showed up the same behaviour. What would help me is to contact the initiator of this thread, maybe he has resolved the problem. But unfortunately I haven't got his email and it is very likely that he (maybe she) doesn't watch this thread anymore, because it is almost over half a year old. It's great that you've answered!
Greetings Oli
08-28-2008 05:12 PM
Hey Oli!
The original poster probably isn't monitoring this thread anymore; however, I can try to supply what you need. You seem to be doubting the correct working of your USB-RS232. Could you test with a straight RS232 connector? Also, would hyperterminal work for you? Thank you Oli!