07-15-2014 06:37 PM
Hi,
I have made a application using LabVIEW that must read data from a DAQ (NI cDAQ-9184 and current module NI 9203) using tasks from NI MAX. I run the app at Windows starup, but sometimes when the app starts the comunication betwen DAQ and NI MAX is incomplete (The chassis is always turn on) and my app reads zeros when actually the module always receives a signal (4-20mA) from sensors. Then i must to open NI MAX and refresh the chassis or run some task and stop it to run my app again to obtain correct data. I need that app works without user interaction.
I hope you can help me... Regards.
07-16-2014 06:13 AM
You likely have a weird race condition. In essense, you are starting the application before any of the NI services start up to help you application. You need some type of delay before you application starts.
07-17-2014 10:37 AM
Ok, i will try. I think you right and my application probably runs before the device monitor...
07-24-2014 09:54 AM
Hello andcp360,
We could try with a VI to search for the module 9203, and once the module was detected, run your application and then close itself.
07-24-2014 02:12 PM - edited 07-24-2014 02:13 PM
Thanks!
Finally, i only made a little delay in my app and then read the signals every 5 seconds...