LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Callback VIs and MAX

Solved!
Go to solution

Hi all!

I've made the Advanced Architecture in Labview few months ago. My question is about caalback vis.

I'm trying to open the scale edition window of MAX since a LabVIEW application. In LabVIEW, we can open this windows with a right click on a scale constant:

scale1.png

scale2.png

I think this functionnality is performed by a callback-vi.

How can I open programm the openning of this windows? Typically, the end-user will have a calibration window, for each measurement, and if necessary it will have a "Edit Scale" button to directly open this windows... Is it possible??

Thaks you per advance!

Francis M
0 Kudos
Message 1 of 3
(2,739 Views)
Solution
Accepted by topic author Cisco

Sure, these functions are wrapped in the DAQ Assistant, and can be called like a normal VI.  The problem is it is undocumented, and NI may choose to change some way it works, and break code that relies on it to behave a specific way.  That being said here is the code I wrote which can create or edit Channels, Tasks, or Scales.

 

https://lavag.org/topic/18740-launching-daqmx-task-configuration-window-with-labview/#entry112620

Message 2 of 3
(2,729 Views)

Thank you, it's absolutely was I wanted!

Francis M
0 Kudos
Message 3 of 3
(2,702 Views)