12-13-2007 04:14 PM
During normal operation this all works smooth. I am trying to create a VI to replace the Device. My emulator has no problems seeing the data from step 1 and 3 and replying in step 2. But, I cant see any data in step 4. I use the "Bytes at Port" and it returns 0.
I have tried flushing the I/O buffer, sending a VISA Clear. Nada. I am using a simple loopback from Com1 to Com2. And I have set temination character "\r"
any Ideas?
12-14-2007 04:12 PM
Hi Gold,
Try taking an NI Spy capture when communicating with the actual hardware, and then compare that to an NI Spy capture of the emulator communication. You can find NI Spy in the National Instruments folder. The NI Spy capture will show you exactly what is being sent back and forth. There might be something different in the communication with the emulator that is causing the behavior that you're seeing.
Regards,
Rima
12-20-2007 09:30 AM
Thanks Rima... I'll give it a try and see how it goes. For some reason I thought NI Spy would only look at network and not serial data.
Gold