Jump to content

Bertrand Irakoze

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Bertrand Irakoze

  1. Thanks for that Joe! you put it very well. It makes sense now. As long as my COM Rx blocks are live, every new data I get I can copy it to another string variable. Can I use the same buffer tags to write data to from the ports they are looking at. Since I reset them after each successful comparison. But let me be specific about my rules. First scan, In one port, I I look at the string for its last digit, if it is L (for Left), that's good. Same thing for the other port, on the first scan, I look for R( for Right) as the last digit of the string. Only when that's good, I take in another string on the subsequent scan. For these new strings, I do the same and look for the last characters ( L and R), but also compare the first part of the string that comprises of numbers. If they match then I'm good to go. I already got the code working for this second set of comparisons. I wanted to add another sequence for the new scan. Thanks, Bertrand Irakoze
  2. I'm already using 2 scanners connected to 2 different Serial COM ports. but currently they only scan once with both scanners and then I compare the 2 barcodes. But I also want to scan 2 other parts with the same scanners and also compare them. So my question is, can I just copy and paste the rungs I'm already using to treat additional barcodes? Will it automatically prompt the cursor to take in other barcodes after each scan? What if I want to move to the next barcodes only when the ones just scanned are good? I'm attaching my code to show what I'm talking about. UniStream_070_Message_Composer_Two Barcode Readers.ulpr
  3. I'm working on a scanning project that scans barcodes of 2 parts during assembly to compare them. I'm using 1 scanner connected to the serial port. I need the operator to scan the first barcode, then he should be prompted to scan second barcode, then compare the 2 strings. I need help on how to prompt to second scanning after handling and saving the first input. Should I just fill the buffer with 000 then put a rung to receive data through the port again?
×
×
  • Create New...