I have problems using the UDE® Object Model of the RawJtagSrv from VBA.

For using VBA you have to follow two major principles: First all parameters of functions should be passed by value only by using brackets around parameters.

Example:

  var SHIFDTDATA = 0xAAAA
  str = RawJtagDev.ShiftDr( 12, (SHIFTDATA) )

Secondly it has to be considered that procedure calls (methods without any return value) have an different syntax. Parameters are not passed using brackets.

Example:

  RawJtagDev.ShiftIrBit 12, "00101010"

Instead of

  RawJtagDev.ShiftIrBit ( 12, "00101010") ' -> gives an compilation error