‎02-18-2011 12:49 AM
has a set of commands to work witha system connected to the MS windows PC. when I trype the commands in Hyperterminal (with/without ) they are yielding the expected results.
in LabVIEW, to get the expected results I MUST has to type 'each character' in the command Twice(except blank space) in the Open VISA test panel (viWrite/viRead). If I give the command is given the usual way(with each character typed only once), the result always is 'illegal command'.....the same works fine in the Hyperterminal.
‎02-18-2011 06:08 AM
Helo Sudhakara,
Please post the VI or snippet
‎02-18-2011 07:59 AM
I am just using the 'Open VISA test panel' launched from the MAX after it detected my COM port (connected device). there is NO VI i am using for this.
thnx
‎02-18-2011 08:48 AM
What confused Ashwin is that you said "In LabVIEW". OK, so you're using the MAX test panel. There's one thing that's not clear. You said "when I trype the commands in Hyperterminal (with/without )". With/without what? How is your Hyperterminal session configured? Have you tried something like PortMon to see what's actually being sent from the serial port driver?
‎02-18-2011 08:48 AM
What confused Ashwin is that you said "In LabVIEW". OK, so you're using the MAX test panel. There's one thing that's not clear. You said "when I trype the commands in Hyperterminal (with/without )". With/without what? How is your Hyperterminal session configured? Have you tried something like PortMon to see what's actually being sent from the serial port driver?
‎02-22-2011 04:43 AM
What I mean with/without is 'Echo Typed characters locally' in 'ASCII set-up' of Windows Hypercritical application. Infact, the though 'Open VISA test panel' is expecting double char of the command, it's actually sending to the I/O buffers cmd with single character(NI tool is removing the duplicated char).
thnx for all your comments.