From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Daq configuration in exe file

Hi,

 

Is it possible to have a configuration pop-up or a conf window to chose a Daq assistant channel input type( change from voltage to Current for exemple) in a executable file?

0 Kudos
Message 1 of 4
(2,280 Views)

As far as I know, this is not possible.  DAQ Assistant is meant to be used when programming the application, not during execution. 

 

To achieve your objective, you would have to do one of two things:

 1 - Configure the channel directly in your application using "DAQmx Create Virtual Channel.vi" and have different cases for different instances (AI Voltage, AI Current, AI Temp TC, etc.) while letting the user select the instance through the GUI

 2 - On the machine where the application is running, have the operator change the Task or Global Virtual Channel in MAX (Measurement and Automation Explorer) and use those in your application

 

Message 2 of 4
(2,269 Views)

Hi,

 

try to configure a subVI to pop open its front panel when called and close afterwards, which causes the subVI to act like a pop-up window.

0 Kudos
Message 3 of 4
(2,261 Views)

Hi

 

have a look to

Programmatic DAQmx Device Selection

 

(this is just for demonstration purposes as you can easily replace with your custom acquisition code)

0 Kudos
Message 4 of 4
(2,257 Views)