Jump to content

Recommended Posts

  • MVP 2023

Hi,

1).  Vision reads bar.

2).  Vision executes bar entry routine.

3).  Vision proceeds to bar.

4).  Vision reads different codes.

5).  Vision interprets codes, runs decision-making subroutine.

6).  Vision waits for a while accepting results of decision-making sub.

7). Vision leaves bar sub.....somewhat unsteadily.

8). Vision attempts to run main program normally, but errors appear out of nowhere.

:blink:

Sorry JT.  Couldn't help myself.  You'll get a serious answer soon from someone who really knows how.

cheers,

Aus

  • Like 2
Link to comment
Share on other sites

  • MVP 2023

Aus, you are such a card.  :P

You need a barcode reader with an RS232 output.  Most barcode readers have an adapter cable if you look deep in the accessories.

Then you have to define what you want to do.  Sample barcode data?  Sample decision process?

Then read all the Help on the Protocol block, which is what you will use to read the barcode reader's output.

Then read the Help on the String function blocks, which is what you will use to make sense of the barcode reader's output.

That's about all I can tell you with the information given.

Joe T.

 

Link to comment
Share on other sites

  • 2 years later...
  • MVP 2023

Is your reader the handheld type with its own trigger or is it a fixed unit with an external trigger input?

If it's handheld, then you pull the trigger and it will spit out a serial stream when it sees a valid code.

If it's mounted, there's usually a digital input on it to trigger it.

Either way, you'll need to catch the serial string with a Protocol Scan block and decide what to do with it from there.

Joe T.

 

Link to comment
Share on other sites

  • MVP 2023
On 3/13/2018 at 5:12 AM, Ausman said:

Hi,

1).  Vision reads bar.

2).  Vision executes bar entry routine.

3).  Vision proceeds to bar.

4).  Vision reads different codes.

5).  Vision interprets codes, runs decision-making subroutine.

6).  Vision waits for a while accepting results of decision-making sub.

7). Vision leaves bar sub.....somewhat unsteadily.

8). Vision attempts to run main program normally, but errors appear out of nowhere.

:blink:

Hmm, I read something recently that might apply. Oh, yes, here it is:

image.png.a63a3d8e6b82ef4e1f48cae6c3d48b56.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...