LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Method for Digital Waveform Graph

Hi,

OS : NT4 and also Win2000, LabVIEW 6.0.2, App Builder 6.0.2
I have a Digital Waveform Graph on a front panel. I pass a Control Refnum of the Digital Waveform Graph to lower level vi's. Somewhere in the lower vi's of the main vi is a call to the Control Method:Reinit To Dflt.

The main VI works well when running in LabVIEW. When I built an exe I encounted a problem when the VI containing the Control Method:Reinit To Dflt was executed. The Error 1073 was returned.

Any clues, is this a bug.

(I have changed my clear graph vi by writing empty arrays using the property : Value)

See attached demo vi. All this does is demonstrates the problem.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 1 of 4
(2,984 Views)
I'm not really sure why, but apparently NI doesn't want that method available outside of the development enviroment. I tried the same thing with a numeric control and got the same results.

I would say that its not necessarily a bug, just the way NI intended it to work for whatever reason.

Brian
0 Kudos
Message 2 of 4
(2,984 Views)
Hi Brian,

It does seem a bit strange. Couldnt find anything in the help for this method that indicates that its uses is limited.

Thanks
Ray
Regards
Ray Farmer
0 Kudos
Message 3 of 4
(2,984 Views)
Hi Ray,

Yeah, the help leaves a bit to be desired. Maybe one of the guys/gals from NI will chime in to shed some light on this.

One thing that I did find odd is that the "Reinitialize All To Default" method in an invoke node for the VI works. This won't be much help to you if you have more than one control on the front panel. It just seems weird that they would be able to get the default values for the whole front panel, but not the individual controls.

Brian
0 Kudos
Message 4 of 4
(2,984 Views)