LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

has to type each character twice while supplying command in Open VISA test panel

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.

0 Kudos
Message 1 of 6
(2,737 Views)

Helo Sudhakara,

 

Please post the VI or snippet

0 Kudos
Message 2 of 6
(2,717 Views)

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

0 Kudos
Message 3 of 6
(2,707 Views)

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?

0 Kudos
Message 4 of 6
(2,701 Views)

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?

0 Kudos
Message 5 of 6
(2,700 Views)

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.

0 Kudos
Message 6 of 6
(2,662 Views)