04-19-2007 04:01 AM
04-19-2007 06:37 AM
04-19-2007 06:38 AM - edited 04-19-2007 06:38 AM
Message Edited by win2suse on 04-19-2007 06:49 AM
04-19-2007 07:14 AM - edited 04-19-2007 07:14 AM
There are several ways to send a hex 01 with the VISA Write, and all have been explained numerous times onn the forum. One wya is to simply right click on your string control/constant and select Hex Display. You can right click and select '\' Code Display and enter \01. You can have a numeric control and use the Byte Array to String. You can have a numeric control and use the Typecast function to convert to a string.
Your error can be due to the device not sending any data back, hence the VISA Read times out waiting for non-existant data. If you sometimes get data and are unsure of the length, you need to use VISA Bytes at Serial Port wired to the byte count input of VISA Read. This has also been discussed numerous times on the forum.
Message Edited by Dennis Knutson on 04-19-2007 06:15 AM
04-19-2007 08:30 AM
04-19-2007 09:18 AM
04-19-2007 12:42 PM
04-19-2007 12:49 PM - edited 04-19-2007 12:49 PM
Message Edited by win2suse on 04-19-2007 12:51 PM
04-19-2007 01:30 PM
04-19-2007 01:41 PM