LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 232

I am using RS232 to commuincate with the instrument.

 

In windows 2000, I can read the characters which i have sent but in XP i am just getting 0's.

 

 

Thanks

0 Kudos
Message 1 of 14
(3,584 Views)

Did you ensure that all of the configuration is identical?
For example:

- COM port

- Baud Rate

- Stop bits

... etc

 

If these are different computers, this may have changed.

Cory K
0 Kudos
Message 2 of 14
(3,572 Views)

Thanks cory

 

Everything is same

 

 

0 Kudos
Message 3 of 14
(3,569 Views)

Hi veeru,

 

have you tried the cross-check using HyperTerminal on both computers?

 

It's common practice to check a serial connection with HyperTerminal before letting LV do the work...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 14
(3,564 Views)
Have you run NI Spy to see what is happening? Also, are you using the same serial cable? If you are using different cables are the cables the same type, i.e. NULL modem versus straight through?


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 5 of 14
(3,563 Views)

I would recommend GerdW's advice.

Try reading the data in with something like Hyperterminal, just to make sure you are getting data.

It may not be an issue on LabVIEW's end.

Cory K
0 Kudos
Message 6 of 14
(3,559 Views)

Thanks Everyone

 

I am using the same cable, also tried communicating via heyperterminal between PC's, its working. But when i try with the instrument it looks like its communicating but not getting data back

 

Thanks

0 Kudos
Message 7 of 14
(3,508 Views)

Hi veeru,

 

do you get any response from the device on any of the computers? Or do you only get communication between the PCs?

 

Can you show your communication VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 14
(3,505 Views)

Thanks GerdW

 

I am getting communication only between PC's.

 

Thanks

0 Kudos
Message 9 of 14
(3,501 Views)

Hi Veeru,

 

in your original question you said something different...

 

Have you tried to use a different cable? Something like crossed vs. direct connection?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 14
(3,497 Views)