12-26-2007 05:33 PM
12-28-2007 09:23 AM
12-28-2007 12:37 PM
12-28-2007 02:02 PM
@Andy L wrote:Have you tried sending/reading more than 6-byte replies to see if LabVIEW always adds an additional byte?
03-06-2008 07:12 PM
@Andy L wrote:Have you tried sending/reading more than 6-byte replies to see if LabVIEW always adds an additional byte?
03-11-2008 07:29 AM
03-11-2008 12:59 PM
@O_Proulx wrote:
It is very difficult to say if the problem is with the VISA driver or with the USB-232 firmware/driver. You might want to try running a similar application using a terminal program like Zterm (like hyperterminal in Windows). You could verify how many bytes are actually received. This would help narrowing down the problem.
You can also post an NI-SPY capture. You can refer to this knowledgebase on how to perform an NI-SPY capture. This may also help in narrowing down the problem.
03-13-2008 05:40 PM
03-13-2008 06:55 PM
@O_Proulx wrote:
NI-VISA makes use of the only way to get errors reported back on POSIX, and that is to use flags INPCK and PARMRK. These flags enable the checking for the FF control code byte in the buffer, and when they find FF, another byte gets added to the appearance of the buffer because there appears to be an error report included (directly after the FF byte). We apologize for the inconvenience but this is the way we report errors on Mac OS. You can take a look at this document and this doucment for more information about this (search for INPCK or PARMRK)(Also note that 0377 is octal for 0xFF).
Do you absolutely need to send the FF, or can you modify the code in your device to send another value instead?