Hi.
It has been pointed out that in v5 RS232 can be put into 'byte insert' mode, but this feature was not present in v6.
As of 6.0.3, you can right-click on any console and add the data as both byes and ASCII.
To insert bytes instead of text, click on the byte list and the yellow cursor will appear at the end of the bytes instead of the text. Typing bytes at this point will insert these values into the feed. A byte will not be added to the console until you finish typing it. Clicking on the ASCII part will insert text as characters.
You can also select to insert decimal values instead of hex values. In this mode, ensure you type zeros in to the correct slots, so type '005', not '5'.
I hope this helps with things. Cheers,
Jonny
Inserting bytes into the console in v6
Moderator: Benj
-
- Posts: 155
- Joined: Thu Feb 10, 2011 4:39 am
- Location: Las Vegas, Nevada USA
- Has thanked: 40 times
- Been thanked: 19 times
- Contact:
Re: Inserting bytes into the console in v6
Hi Johnny
I am not able to do what you are saying here, I tried, but have no clue as to how to do what you describe here.
Where am I going wrong. To achieve inserting a 3 digit byte I have to put it in notepad then copy it and then paste it into the RX queue.
Larry
I am not able to do what you are saying here, I tried, but have no clue as to how to do what you describe here.
Where am I going wrong. To achieve inserting a 3 digit byte I have to put it in notepad then copy it and then paste it into the RX queue.
Larry
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Inserting bytes into the console in v6
Hi. Can you tell me what steps you are taking to try this?
If you:
Jonny
If you:
- Ensure your Flowcode is 6.0.3
- Add the components required to get the console you want
- Right-click to get the context menu and ensure 'Show data bytes' is selected
- Make sure the green '00000000' is visible by typing any character in (this is a minor bug that I will fix - it should be there even with a blank console)
- Click immediately to the right of the '00000000' and the yellow cursor should move to the byte part as in the screenshot above
- Type 2-digits at a time to enter hex bytes, or uncheck 'Show integers as hex' and enter decimal bytes
Jonny
-
- Posts: 155
- Joined: Thu Feb 10, 2011 4:39 am
- Location: Las Vegas, Nevada USA
- Has thanked: 40 times
- Been thanked: 19 times
- Contact:
Re: Inserting bytes into the console in v6
Hi Jonny
I entered as per your listing above. On the last item I unchecked show as hex. On the Human Interface Data it shows each digit as received as hex ( type 073 is received as 0x00 0x07 0x03) If I enter 073 or 73 in notepad, copy it, and then paste it into the Queue of he running program, it is received as 73 which is what I was trying to achieve, but this notepad way is cumbersome.
I am using V6.0.3 Professional in Windows 7 and Open GL 1.01 for what its worth.
In the properties of the Human Interface Injector I have the DataMode set to Numeric data.
Everything I do these days involves RS232 so as you can probably tell this simulation feature is kind of important to me.
Larry
I entered as per your listing above. On the last item I unchecked show as hex. On the Human Interface Data it shows each digit as received as hex ( type 073 is received as 0x00 0x07 0x03) If I enter 073 or 73 in notepad, copy it, and then paste it into the Queue of he running program, it is received as 73 which is what I was trying to achieve, but this notepad way is cumbersome.
I am using V6.0.3 Professional in Windows 7 and Open GL 1.01 for what its worth.
In the properties of the Human Interface Injector I have the DataMode set to Numeric data.
Everything I do these days involves RS232 so as you can probably tell this simulation feature is kind of important to me.
Larry
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Inserting bytes into the console in v6
Hi. I have not used 'numeric data' in the human interface component. The feature added is not for the component, but a feature of Flowcode.
On dragging an RS232 component and an injector on to the panel, the injector settings are: The console when I add in byte mode looks like this: Flowcode will the send a single byte once you have entered 3 digits, press return space or click the mouse. There is no time limit on inserting the digits, and, thinking about it, cut-paste from Notepad probably wont work in this case anyway.
Jonny
On dragging an RS232 component and an injector on to the panel, the injector settings are: The console when I add in byte mode looks like this: Flowcode will the send a single byte once you have entered 3 digits, press return space or click the mouse. There is no time limit on inserting the digits, and, thinking about it, cut-paste from Notepad probably wont work in this case anyway.
Jonny