Hi,
Can a Standard Macro read and assign data bytes to a variable?
Example:
Read 2 110h 4 Byte0 Byte1 Byte2 Byte3
wait 100
Send 1 10BB0099h 1 Byte1
Stop
Or do I need to use a VBS Macro for this?
Paul
Reading data bytes with Standard Macro?
Re: Reading data bytes with Standard Macro?
Hi,
a standard macro cannot handle variables, you have to use a VBmacro instead.
regards
Michael
a standard macro cannot handle variables, you have to use a VBmacro instead.
regards
Michael
Re: Reading data bytes with Standard Macro?
Hi Michael,
Would you be able to get me started with a quick example in VBScript of how to do the following?
Read 2 110h 4 Byte0 Byte1 Byte2 Byte3
wait 100
Send 1 10BB0099h 1 Byte1
Stop
Paul
Would you be able to get me started with a quick example in VBScript of how to do the following?
Read 2 110h 4 Byte0 Byte1 Byte2 Byte3
wait 100
Send 1 10BB0099h 1 Byte1
Stop
Paul
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Reading data bytes with Standard Macro?
You find a sample in the Sample Macro which is part of the product. Take a look at the SUB functions "NewClientSend()" and "WaitForID100()". If you like to get our sample packe with more free available PE5 sample macros, please send us your PE5 Serial Number to support[at]peak-system.com
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------