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

Home » Public Forums » archive » Re: Undefined Variable: DC_Write_Fixed/DC_Write_Free - PV WAVE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Undefined Variable: DC_Write_Fixed/DC_Write_Free - PV WAVE [message #79689 is a reply to message #79684] Thu, 22 March 2012 13:38 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>
> Erini Lambrides writes:
>
>> Hello all, I am getting this error message when i attempt to .run my
>> procedure compare_target_offset2
>>
>> Compiled module: COMPARE_TARGET_OFFSET2.
>> % Compiled module: $MAIN$.
>> % DC_WRITE_FREE: Variable is undefined.
>>
>>
>> and the same for DC_WRITE_FIXED, when I try to write my data in a
>> variable to a .txt file. These two functions should be in the pv wave
>> library - I have version 9.00.
>>
>> here is how I use it within the code:
>>
>> status= DC_WRITE_FREE('C:\Cryo\SphereCenterData
>> \referencetargetdata.txt',rtar)
>>
>> I apologize now if it's a silly mistake. Thanks!
>
> I don't know if this is a "silly" mistake, but it
> is certainly not an uncommon one. The directory that
> contains these two functions is simply not on your
> IDL path. (You can print the directories on your
> IDL path to confirm this for yourself.)
>
> I think if you add the directory to your IDL path,
> and restart IDL, you will find that things work
> a LOT better. :-)

Whoops! I meant PV-Wave, of course, not IDL. And,
also, my remarks assume DC_WRITE_FREE and DC_WRITE_FIXED
are functions, as you have called them here, and not
procedures, which would also cause an error message
like this.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why Map Ojbects Was: Cannot see anything in the postscript file. Any help?
Next Topic: Re: An optimisation question

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

Current Time: Wed Oct 08 19:04:04 PDT 2025

Total time taken to generate the page: 0.00504 seconds