LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial communication problem in Labview7.0

when I use serial write.vi from Labview 6.1 there is no problem i can communicate with my RS-232. I am unable to communicate with the same RS-232 when I made another program in Labview 7.0 using VISA's. My Program is a simple one with visa intialization, visa open, visa write and visa close. It doesn't show any error but not transfering any data. I didnot change any of the intializing settings. Configuration of my serial communication is 9600baudrate,8 bit,no parity and stop bit is 1. I also tried to use an example program and I opened hyper terminal on another computer I didnot see any thing on the hyperterminal. I am wondering why the serial communication worked in labview 6.0 and not working in Labview 7.0, am I doing anythin
g wrong in Labview 7.0?
0 Kudos
Message 1 of 5
(2,713 Views)
Go into MAX and see what versions of NI-VISA and NI-SERIAL you are running. We have had lots of problems matching up LabVIEW and the correct versions of these (especially with RT). LV7 has some problems with older versions of VISA and Serial and LV6.1 has problems with newer versions of them. And once you load the newer versions, you can't go back again. Even uninstalling the new versions and then installing the old versions doesn't work.

Rob
0 Kudos
Message 2 of 5
(2,713 Views)
Hi Rob,
can you tell me how do i goto MAX and look the NI-VISA versions?

thanks,
Mudda.
0 Kudos
Message 3 of 5
(2,713 Views)
Hi Rob,
I opened the Visa Configure serial front panel and I looked at the VI histroy, It says version 101. Is this the version compatible with LV7 for serial communication?
0 Kudos
Message 4 of 5
(2,713 Views)
It
s the version of VISA that's important. Open MAX and expand the software selection in the left window. Click on NI-VISA to see the software version listed in the right window. As long as you're in MAX, expand Devices and Interfaces>Ports, select the com port you're using, and right click and select Open VISA Session. click the Basic I/O tab and use the write and read tabs to see if you can communicate here.
0 Kudos
Message 5 of 5
(2,713 Views)