09-23-2009 02:37 PM
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
09-24-2009 05:42 PM
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