comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » DICOM write: invalid character for this VR
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
DICOM write: invalid character for this VR [message #68616] Thu, 12 November 2009 05:43
LNpellen is currently offline  LNpellen
Messages: 37
Registered: November 2009
Member
I am working with some structure DICOM files and do copy values from
an original file to another file. For an ROI I have found the
colorstring '0\255\0' in this case.

When trying to run this line of code:
o->SetValue, '3006,002A', 'IS', colorstring, SEQID=gcid

I get the error message:
% IDLFFDICOMEX::SETVALUE: Error: Failed to write attribute value (tag/
vr/err). , 3006,002A, IS, Invalid characters in value for this VR

I have seen one other post on similar invalid character error, but
that problem was left unsolved. Can somebody help me here?

I cannot see why the characters are invalid as they come from a valid
DICOM file. Are there any other valid string to express RGB without
the backslash? I guess the backslash is the invalid character here.

ln
[Message index]
 
Read Message
Previous Topic: _extra keyword
Next Topic: Use the device fonts for Ytitle on screen

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:36:29 PDT 2025

Total time taken to generate the page: 0.00404 seconds