Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Max with a standalone application

Hi all

 

I have created a standalone application, which runs on a destination pc. It uses a NI-9174 chassis (USB) and a NI-9237 (AI bridge module) to read strains from strain gauges and display the readings on a graph in real-time.

 

After installing the application on the destination pc I used MAX to import the configuration (devices, custom scales and tasks). The application on the destination pc works correctly.

 

Is it possible to make changes to the configuration on the destination pc using MAX? I would like to make changes to the custom scale of some of the channels. I have tried to do this and after making the changes clicked on save in MAX. However when I run the application again the changes have not occurred. Any suggestions?

 

Thanks

0 Kudos
Message 1 of 4
(3,011 Views)

Hi,

 

You should be able to make changes in MAX that are reflected in the application. Are you using a DAQ Assistant, or the DAQmx API? What happens if you rename the device in MAX- is this change picked up? Have you tried changing the scale to something largely different to easily notice the difference?

Regards,


Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants

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

Hello Imtiaz

 

Thanks for your reply.

I stumbled upon the solution before I received your reply. As you suggest the issue is with using DAQ Assistant. Previously I was using DAQ Assistant to setup the communication with the hardware. I converted  the DAQ Assistant to NI-DAQmx Code (is this perhaps what you mean by using the DAQmx API?). The application built from the vi with NI-DAQmx code works when installed on a different pc and changes made in MAX to the task’s settings (scale for example) are registed.

 

Regards

Keivn

Message 3 of 4
(2,988 Views)

Hi Keivn,

 

Glad to hear you got it all working, the NI-DAQmx sub VIs is indeed what I meant by the API.

Regards,


Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants

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