Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Hex 0xBFFF0015 Usb to Parallel Port Device Timeout error

Hello, I have a usb to parallel port adapter and when ever I try to write to the usb I keep getting error Hex 0xBFFF0015 Timeout error I have tried to increase the timeout duration but still getting the timeout error.. This is the Visa attributes associated with the device in the visa test panel my labview version is 2009 and NI VISA is 4.5.1
VI_ATTR_TMO_Value=2000
VI_ATTR_MAX_Queue_Length=50
VI_ATTR_TERMCHAR=0x0A
VI_ATTR_TERMCHAR_EN=VI_False
VI_ATTR_IO_PROT=1
VI_ATTR_SUPPRESS_END_EN=VI_False
VI_ATTR_USB_MAX_INTR_SIZE=1
VI_ATTR_USB_CtRL_PIPE=0x0000
VI_ATTR_USB_BULK_OUT_PIPE=0x0001
VI_ATTR_USB_BULK_IN_PIPE=0xFFFF
VI_ATTR_USB_INTR_IN_PIPE=0xFFFF
VI_ATTR_USB_ALT_SETTING=0
VI_ATTR_USB_BULK_OUT_STATUS=0
VI_ATTR_USB_BULK_IN_STATUS=-1
VI_ATTR_USB_INTR_IN_STATUS=-1
VI_ATTR_USB_END_IN=5
I try to use the set I/O buffer function to increase the max size but dusplaying invaild buffer size coz it is a usb device and not serial device

And sometimes MAX displays "This device is Busy, and VISA cannot communicate with it"
Can d Usb to Printer cable be busy on its own, is there any configurations to set on d cable like grounding some of its 25 ports..
Anyone have ideal on how to fix all this issue to enable easy communication, I just need to the cable to be able to switch on and off some set of LEDs...
Thank You
0 Kudos
Message 1 of 2
(3,172 Views)
0 Kudos
Message 2 of 2
(3,169 Views)