08-10-2012 02:41 AM
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
08-14-2012 07:20 AM
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
08-15-2012 02:11 AM
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
08-24-2012 09:44 AM
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