01-19-2006 12:19 PM
01-20-2006 02:12 AM
01-20-2006 02:54 AM
If it's possible in hyperterminal it can be done (simply) in LabVIEW.
The difference is that in hyperterminal each character is send as you type it and when you hit enter it will send <CR> or <CR><LF> depending on the settings.
As far as I understand your post you want to send a string of letters in the range 0-9,A-F and a <CR>
so your string to wire in VISA write in LV in '\-code display' will look like '010101000003\r' (try also '010101000003\r\n')
Some devices don't like to get the characters at full speed (µC UARTS without big buffer and some workload) , so sometimes it's a good idea to send each character with a short delay. I modified the example shipped with LV ....
01-20-2006 10:09 AM
01-22-2006 07:33 PM - edited 01-22-2006 07:33 PM
Assuming you want to send "010101000003" command, what ASCII bytes are supporsed to be sent in this case?
For example, regarding the first byte "0" in the above command, do you want to send a human-readble "0" (= ASCII 0x30), or exactly an ASCII zero (= 0x00)?
If you case is the first one, just give a string expression like "010101000003". If your case is the second, give a control-code expression like "\00\01\00\01...." . Anyway you can also send CR (0x0D) and LF (0x0A) with "\r" and "\n" expressions respectively.
このメッセージは 01-23-2006 10:35 AMに Makoto が編集しています。