Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Settable Attributes

I'm trying to use VISA to control my RS232C device. Hyperterminal works fine and hence I wish to set the VISA Attributes exactly as they are in Hyperterminal. Unfortunately, this is not so straight forward as the settable attribute list in VISA is long and doesn't correspond exactly to those of Hyperterminal.
How do I
1. go to new line after each sent command?
2. enable local echo
3. set line delay to 0 ms
4. set character delay to 0 ms
5. go to new line when data received from device
in VISA? ie, which attributes must I set to what value
0 Kudos
Message 1 of 3
(3,275 Views)
Hello,
There is not configurable delay in VISA for serial. So basically options 3 and 4 are already set. The rest of the options you listed are display options in Hyperterminal and do not have any affect on actual communication. The important settings you need to set that affection actual I/O are baud rate, data bits, parity, stop bits, flow control, and the termination character. If you having trouble communicating,
- list the settings you are using in hyperterminal and what you are sending and receiving
- post a spy capture of your program
NI Spy Tutorial
Message 2 of 3
(3,275 Views)
thanks a million! it was a termination character issue!
0 Kudos
Message 3 of 3
(3,275 Views)