07-14-2008 08:53 AM
07-14-2008 09:02 AM
There were some changes to the VISA serial communication from LV5 to LV8.x.
Can you post your code (LV8.5) so that we can see how you have implemented it?
R
07-14-2008 10:51 AM
07-14-2008 11:08 AM
The code you posted works fine with LV8.2 & LV8.5.
Are you saying that this code does not work with your LV8.5 installation?
R
07-14-2008 11:54 AM
07-14-2008 01:09 PM
Are you able to communicate with the target by using some other software such as HyperTerminal?
If so, are you using the exact same settings? Is the port number the correct one?
R
07-14-2008 02:22 PM
07-15-2008 04:38 AM
This morning I tried with both the DOS prompt and Indigo terminal emulator. I also checked the setting on my manometer and the manual says that the settings should be:
Baud Rate: 9600
Parity: None
Auto Line Feed: Yes
Margin: 0
Decimal Point: "."
Send EOF: Yes
I then followed the instructions to set the port with MODE COM5:9600,N,8,1,P and it returned
transfer rate: 9600
parity: none
databits: 8
stop bits:1
timeout: on
XON/XOFF: OFF
CTS-handshaking: ON
DSR-handshaking: ON
DSR-sensitivity: OFF
DTR cycle: Handdhake
RTS cycle: Handshake
Then when I try to log the data with COPY COM5 log.txt it creates a txt file on my desktop with no information.
I checked the parameters on the old Labview 5.1 (not 5.0 as I said earlier) computer and they were
Error Replacement Character: 0
Flow Control XOFF Character: 0
Flow Control XON Characcter: 0
Serial Baud Rate: 9600
Serial Data Bits:8
Serial End Mode for Reads: Term Char
Serial End Mode for Writes: None
Serial Flow Control: None
Serial Parity: None
Serial Stop Bits: 1.0
Those were the only parameters available in the Serial Settings Node
With 8.5 I got all the same except
End Mode for Reads: None (when I changed it to TermChar, it didn't help)
XON: 17
XOFF: 19
There were many many more modem line settings but I didn't include them because they weren't in Labview 5.1
07-15-2008 04:39 AM
07-16-2008 05:10 AM