Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 to RS232

I wrote a basic driver in VBASIC 6 to test the cable and a 4 digit numeric display. It works great. I used a

RS232C Null modem cable. I  tried using the serial example in CVI9 but could not enter the digits. I also 

tried Basic Serial Write and read. Still no luck. The 4 digit display has and LED for data recieve. This is activatate

by 02h in Visual Basic.

 

MSComm1.Output = Chr$(2) + "A" + tbData.Text + Chr$(3). I sub tbData with 1234 and it worked in Visual basic. So my error is passing data to the display.

 

Any ideas? CVI serial example.

8.6            Basic Serial wrire and read VI

 

 

Thank You

 

Philip

0 Kudos
Message 1 of 2
(3,010 Views)

I was able to find the following Example Program Programmatically Changing Serial Properties Using LabWindows/CVI and NI-VISA, that uses basic serial communication.

 

Regards,

Glenn


Regards,
Glenn
0 Kudos
Message 2 of 2
(2,997 Views)