11-10-2008 03:38 PM
Is there a way to configure VISA to not send the MJ_FLUSH_BUFFERS command during a serial session?
11-10-2008 04:40 PM
11-11-2008 02:01 PM
Chris,
I'm not sure how to suppress this request. Do you mind posting an NI-SPY capture of the error occuring?
If you haven't done an NI-SPY capture before, some instructions are here.
Thanks,
11-11-2008 02:29 PM
Ben,
It will be Thursday before I can do a capture, but I do have more information for you. The device (Intelligent Motion Systems MForce Controller) does not return an error when it receives the IOCTL... command. The device only responds to commands sent one character at a time with no other commands allowed between characters. For example, the software that shipped with the device sends the command 'MR 1000\n' as individual characters, and the device echoes each character back as it is received (telnet style communication over USB). If the same command is sent as a string, the device ignores it. If the characters are sent individually out of LabVIEW/VISA, the IOCTL... command occurs and the command is ignored.
11-11-2008 02:40 PM
Chris,
Take a look at the attached example. It's from this thread. It seemed to solve problems using the same or similar USB to 422 converters.