Results 1 to 20 of 29

Thread: Using COM port with Excel VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Hello Leith and others,

    I think i need some additional loop in my "read" sub to check whether the instrument is in XON or XOFF state otherwise my script runs amok. Something like

    do
    
    'Needed code snippet! readout of deviceComState 
    
    if deviceComState=XON then
    
    exit do
    else
    'nothing
    end if loop
    but I can't figure out how to retrieve the deviceComState.

    Maybe someone can help.

    Thanks Robert
    Last edited by Captain_Nemo; 06-18-2019 at 07:23 AM. Reason: formatting

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •