COM port access II. 
Author Message
 COM port access II.


Scott sent me this example (thanks again) posted years ago on

I marked what the problem is:

What is that object?

I haven't found in any pool dictionaries,
and it is not a class.
Is it included in a feature that must be loaded separately?


  Y rc fileDescriptor queueLengthY

 queueLength := ByteArray new: 2.
 fileDescriptor :=  deviceFile fileDescriptor.
 rc :=fileDescriptor dosDevIOCtl: *****IoctlAsync*****
           function: AsyncGetinquecount
        pParams: nil
        cbParmLenMax: 0
        pcbParmLen: nil
        pData: queueLength
        cbDataLenMax: queueLength size
        pcbDataLen: nil.

 (rc = 0) ifFalse: ^AbtError new ).
 ^(OSType fromBytes: queueLength) asInteger




Wed, 18 Jun 1902 08:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. COM port reading in LabVIEW - part II

2. COM port access?

3. Problem accessing the COM port using Causeway

4. com port access

5. Access to the Com-Port

6. Accessing COM-Ports with Visual Objects 2.0

7. COM (Serial) Port Access in REXX?

8. NetRexx Com Port Access & Control

9. Com Port Access?

10. Accessing COM ports.

11. MicroFocus program to Access COM Ports.......

12. Windows Fatal Exception When Accessing COM Ports


Powered by phpBB® Forum Software