I have a strange problem that I am not sure how to sort.
I have Com 3 and 4 in MS-DOS (they work) I have set the band rate etc. via Mode (as FreeBASIC can not seem to handle them in DOS directly)
I can open the port and send data down it but my application does not get anything back from the port.
I need to have 2 way communication on COM4 as that is the Port my chip & Pin terminal is assigned to (RS232 commutation for processing of sale data from the terminal)
In windows this works fine (So i know it is not the software) does anyone have any ideas what I need to do to allow two way communication via Mode and Open "Com4" for random
Code: Select all
If CardType = "VXTerminal" Then
Print " Establishing communcation to VX510 terminal"
If CardComType = "Com" Then
CardMachinePort = 4
ComSetVX510 += ",CS0,DS0"
Open Com ComSetVX510 As #CardMachinePort
End If
If CardComType = "ComMode" Then
CardMachinePort = 4
Open Com ComSetVX510 As #CardMachinePort
End If
End If