LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 903 -> malloc() failure

Hey,
        I have problem with a program. While I was trying to run the program, its giving me an error 903 which mean malloc() failure. I couldn't understand what's really happening. I tried changing few parameters but it did not work. Any suggestions ?
 
PS: Please find the screen shot attached to this e-mail. If you wish to go through the VI once, I am also attaching the VI, instrument library. I appreciate your support.
0 Kudos
Message 1 of 5
(3,158 Views)

Kay Kay,

Malloc stands for "memory allocation" and is a C command used to dynamically allocated your computer's memory. It sounds like there may be an error in the dll that your vis are calling into. Where did you get your instrument driver? Did you download it from the National Instruments website? What instrument was this set of vis intended to control?

 

Chris C

Applications Engineering

National Instruments

0 Kudos
Message 2 of 5
(3,137 Views)
Hey Chris,
                   We bought the instrument from NI website but it was developed by Z-Tec Instruments. Anyway, I resolved my problem. Thanks for your support.
0 Kudos
Message 3 of 5
(3,128 Views)
Hey Kay Kay,
Would you be willing to pass along the knowledge you gained to solve your problem? Tons of people look at this discussion forum so any answers that are provided are super helpful. Thanks!
 
 
Chris C
Applications Engineering
National Instruments
0 Kudos
Message 4 of 5
(3,120 Views)
Hey Chris,
                  I have'nt exactly discover something to solve my malloc() problem, but I would love to explain what I exactly did to resolve my issue. Intially, I configured the program such that there is no waveform information and I am asking a function to plot it. And then, I realised that I don't even have the data stored to plot. After that, I've used waveform preamble function which already exists in the instrument library to get the waveform details and then I passed that through auto config block and then passed the signal to the waveform read block and there I got the output waveform without any problem.
 
PS: It is confusing but this is what I did to resolve my issue.
0 Kudos
Message 5 of 5
(3,113 Views)