pockey Posted January 16, 2007 Report Share Posted January 16, 2007 I'm developing a serial communication program with LabVIEW 8.20. There is a USB to RS232 cable connected to a testing board. As topic shows, when I write commands to the board, there will be error shown: Error -1073807298 occurred at VISA Write in ML2427Tester.vi Possible reason(s): VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error. The program could run OK after I click the "Continue" button. Anyone is aware of such error?? If the error is not so important, how could I ignore it for proper operation of my program? A picture of the block diagram could be seen here: ML2724Tester -- Error at VISA Write Thanks! Download File:post-6631-1168917470.vi Quote Link to comment
Ton Plomp Posted January 16, 2007 Report Share Posted January 16, 2007 Hi pockey, I haven't looked in detail, but you should host the image at LAVA, because now the portal is messed up because of your picture (see here), or just post a link to the picture. I will look in detail later, but am in a hurry. Ton Quote Link to comment
pockey Posted January 16, 2007 Author Report Share Posted January 16, 2007 Thanks tcplomp I've replaced the picture with a link. Actually, there's no problem with my browser, I could see the portal normally with the resized image. Quote Link to comment
Ton Plomp Posted January 16, 2007 Report Share Posted January 16, 2007 Hi Pockey, thanks, (maybe it's just me) You should have a look at the error cluster, pass it on between several parts of your code: The wait with error is an OpenG VI downloadable with VIPM other q's: are the default serial settings OK for your device? (look at that error out as well) Have you tried communicating with the devicde from MAX? EDIT: Having looked at your code I advice some redesign. Use less states the (Reset/Begin/Status/Help) states are almost the same. Use a seperate Read and Write state. In your read state you need some timeout (10-50 ms) or so. Ton Quote Link to comment
pockey Posted January 16, 2007 Author Report Share Posted January 16, 2007 Well, it seems the problem is with the USB to RS232 cable. I tried another connector and there's no error now. Well, how to get rid of the error if I use that USB to RS232 cable since I know the error is with the cable not the program? Quote Link to comment
Ton Plomp Posted January 16, 2007 Report Share Posted January 16, 2007 Well, it seems the problem is with the USB to RS232 cable.I tried another connector and there's no error now. Well, how to get rid of the error if I use that USB to RS232 cable since I know the error is with the cable not the program? Have you fully installed the usb-rs232 device? We saw that we could write, but not read with a default usb-rs232 device. Ton Quote Link to comment
pockey Posted January 16, 2007 Author Report Share Posted January 16, 2007 Strange! I could read but not write with the cable... The driver of the cable is not recognised by Windows, and it causes blue screen sometimes. Quote Link to comment
robijn Posted January 22, 2007 Report Share Posted January 22, 2007 Strange!I could read but not write with the cable... The driver of the cable is not recognised by Windows, and it causes blue screen sometimes. There are many I2C to serial converters (especially multiple port devices) that have similar problems with VISA. Some or all functions then don't work (properly). I have very good experience with Prolific drivers, all devices with Prolific drivers always work. Joris Quote Link to comment
nikasawadekar Posted July 19, 2016 Report Share Posted July 19, 2016 I'm developing one TMC instrument and I get this error when - my TMC instrument is connected to Hub and Hub to pc. If I unplug and replug the USB connection for hub, I get this error. Hub is getting power from USB as well as AC-DC power adapter. If I reset the hub completely, i.e if I'm unplugging the power cord and unplugging usb connection to hub both, then plug back both, everything works fine. What could be issue in this case? I'm using Keysight IO Libraries for my development. Thanks. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.