Skip to content

Commit

Permalink
Add a string PV to the testing ioc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgibbs committed Nov 19, 2016
1 parent b1c34a2 commit 8ba4a9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing-ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
'XPos' : { 'prec' : 2, 'value' : 0.0 },
'YPos' : { 'prec' : 2, 'value' : 0.0 },
'Image' : { 'type' : 'char', 'count': IMAGE_SIZE**2, 'value': numpy.zeros(IMAGE_SIZE**2,dtype=numpy.uint8) },
'ImageWidth' : { 'type' : 'int', 'value' : IMAGE_SIZE }
'ImageWidth' : { 'type' : 'int', 'value' : IMAGE_SIZE },
'String' : { 'type' : 'string', 'value': "Test String"}
}

def gaussian_2d(x, y, x0, y0, xsig, ysig):
Expand Down

0 comments on commit 8ba4a9d

Please sign in to comment.